Hi,
schau dir mal den ScrShot an; hier siehst du, wo du was eintragen musst. Nach Eintrag der Formel die Formatierung auswählen.
[
attachment=20017]
Hallo, ich bin immer noch für VERGLEICH()...
Arbeitsblatt mit dem Namen 'Blatt2 (2)' |
| A | B | C |
1 | Lkw | Einsatzliste Fahrer | Fahrerliste |
2 | Lkw 1 | Mustermann | Mustermann |
3 | Lkw 2 | | Meyer |
4 | Lkw 3 | Schulz | Schulz |
5 | Lkw 4 | | Lehmann |
6 | Lkw 5 | | Müller |
Zelle | bedingte Formatierung... | Format |
C2 | 1: VERGLEICH(C2;$B$2:$B$6;0) | abc |
Verwendete Systemkomponenten: [Windows (32-bit) NT 6.01] MS Excel 2016 |
Diese Tabelle wurde mit Tab2Html (v2.6.0) erstellt. ©Gerd alias Bamberg |
Vielen Dank für die bisherige Hilfe. Hat soweit alles gut geklappt.
Nun würde ich gern eine weitere Funktion einbauen, weiß aber nicht wirklich wie!?
Zwei Fragen dazu:
1. Wie kann ich die jeweilige Fahrer-Nummer (F-Nr.) im Beispiel 1-16 in der Spalte L automatisch anzeigen und die Zelle wie in Spalte M grün werden lassen, sobald in der Spalte C der Name eingetragen wurde. Bisher trage ich die Zahlen manuell ein, damit ich unten die Summe der aktiven Fahrer bekomme.
2. Ein weiteres Problem ist die Zelle C12. Hier sind 2 Namen durch einen Schrägstrich voneinander getrennt. Daher werden die Fahrer Müller und Schmidt nicht durch die bedingte Formatierung grün dargestellt. Wie kann man das hinbekommen.
Hier meine Mustertabelle:
| A | B | C | D | E | F | G | H | I | J | K | L | M | N |
2 | | | | | | | | | F-Nr. | Fahrer | Info |
3 | Tour | Lkw | Fahrer | Abfahrt | Haus | Info | | | Chef | Büro |
4 | Anhänger | | Chef Vertretung | Büro, Reservefahrer |
5 | Rangier | | Mustermann | | | | | | | | 3 | Mustermann | Rangier |
6 | | | | | | | 4 | Lehmann | |
7 | | | | | |
8 | 1 | | Meyer | | | | | | | | 5 | Meyer | |
9 | | | | | | | 6 | Schneider | |
10 | | | | | | | 7 | Hülpner | |
11 | | | | | |
12 | 2 Früh | | Müller / Schmidt | | | | | | | | | Müller | mit Schmidt in Zelle C12 ? |
13 | | | | | | 9 | Holz | |
14 | 2 Spät | | Lehmann | | | | | | | | 10 | Wohlgemut | |
15 | | | | | | | | 11 | Leihfahrer 1 | |
16 | | | | | |
17 | 3 | | Schneider | | | | | | | | 12 | Mustermann | |
18 | | | | | | | | | Leihfahrer 2 | Urlaub von… |
19 | | | | | |
20 | 4 | | Holz | | | | | | | | 14 | Leihfahrer 3 | |
21 | | | | | | | | Schmidt | mit Müller in Zelle C12 ? |
22 | | | | | |
23 | 5 Früh | | Hülpner | | | | | | | | | Erhard | krank seit.. |
24 | | | | | | | | | |
25 | 5 Spät | | Wohlgemut | | | | | | | | | | |
26 | | | | | | | | | |
27 | | | | | |
28 | 6 Früh | | Stark | | | | | | | | | | |
29 | | | | | | | | | | |
30 | 6 Spät | | Kreidler | | | | | | | | | | |
31 | | | | | | | | | | | |
32 | | | | | |
33 | 7 | | Leihfahrer 3 | | | | | | | | | | |
34 | | | | | | | | |
35 | 8 | | Leihfahrer 1 | | | | | | | | | | |
36 | | | | | | | 10 | Summe Aktive Fahrer | |
Zelle | Formel |
L36 | =ANZAHL(L3:L35) |
Zelle | bedingte Formatierung... | Format |
M3 | 1: ZÄHLENWENN($C$5:$C$36;M3) | abc |
M4 | 1: ZÄHLENWENN($C$5:$C$36;M4) | abc |
M5 | 1: ZÄHLENWENN($C$5:$C$36;M5) | abc |
M6 | 1: ZÄHLENWENN($C$5:$C$36;M6) | abc |
M8 | 1: ZÄHLENWENN($C$5:$C$36;M8) | abc |
M9 | 1: ZÄHLENWENN($C$5:$C$36;M9) | abc |
M10 | 1: ZÄHLENWENN($C$5:$C$36;M10) | abc |
M12 | 1: ZÄHLENWENN($C$5:$C$36;M12) | abc |
M13 | 1: ZÄHLENWENN($C$5:$C$36;M13) | abc |
M14 | 1: ZÄHLENWENN($C$5:$C$36;M14) | abc |
M15 | 1: ZÄHLENWENN($C$5:$C$36;M15) | abc |
M17 | 1: ZÄHLENWENN($C$5:$C$36;M17) | abc |
M18 | 1: ZÄHLENWENN($C$5:$C$36;M18) | abc |
M20 | 1: ZÄHLENWENN($C$5:$C$36;M20) | abc |
M21 | 1: ZÄHLENWENN($C$5:$C$36;M21) | abc |
M23 | 1: ZÄHLENWENN($C$5:$C$36;M23) | abc |
M24 | 1: ZÄHLENWENN($C$5:$C$36;M24) | abc |
M25 | 1: ZÄHLENWENN($C$5:$C$36;M25) | abc |
M26 | 1: ZÄHLENWENN($C$5:$C$36;M26) | abc |
M28 | 1: ZÄHLENWENN($C$5:$C$36;M28) | abc |
M29 | 1: ZÄHLENWENN($C$5:$C$36;M29) | abc |
M30 | 1: ZÄHLENWENN($C$5:$C$36;M30) | abc |
M31 | 1: ZÄHLENWENN($C$5:$C$36;M31) | abc |
M33 | 1: ZÄHLENWENN($C$5:$C$36;M33) | abc |
M34 | 1: ZÄHLENWENN($C$5:$C$36;M34) | abc |
M35 | 1: ZÄHLENWENN($C$5:$C$36;M35) | abc |
Verwendete Systemkomponenten: [Windows (32-bit) NT 10.00] MS Excel 2016 |
Diese Tabelle wurde mit Tab2Html (v2.6.0) erstellt. ©Gerd alias Bamberg |
Hi,
mal gleich vorweg: verbundene Zellen innerhalb einer Tabelle sind Mist - löse sie auf (hierzu etwas Lesestoff:
https://www.clever-excel-forum.de/thread-142.html), dann kannst du bequem die beiden Fahrer untereinander in die verschiedenen Zellen eintragen. Das Problem mit der bF ergibt sich dann nicht.
Die automatisierte Zählung der vorhandenen Fahrer erreichst du nur, wenn keine nicht anwesenden Fahrer (wie z.B. Urlaub, krank usw.) eingetragen werden.