Hallo,
habe ein Problem, bei dem ich hoffe, dass mir geholfen wird.
Ich habe eine benutzerdefinierte Formatierung erstellt, die je nach Anzahl, die ich eingebe, entweder den Begriff Flasche oder den Begriff Flaschen ausgibt. Das funktioniert einwandfrei. Jetzt wollte ich aber, dass die ganze Zeile markiert wird, wenn z.B. nur 1 Flasche in der Zeile steht.
Beispiel:
Artikel steht in A
Anzahl steht in B
Geht das überhaupt, dass man eine bedingte Formatierung auf eine benutzerdefinierte anwenden kann?
LG
Hallo,
du brauchst die Bedingte Formatierung doch nur auf die Anzahl referenzieren, das benutzerdefinierte Format hat damit nichts zu tun.
Schau mal und Hallo ...
Tabelle1Bedingte Formatierungen der Tabelle |
Zelle | Nr.: / Bedingung | Format | A1 | 1. / Zellwert ist gleich =1 | Abc | B1 | 1. / Zellwert ist gleich =1 | Abc | A2 | 1. / Zellwert ist gleich =1 | Abc | B2 | 1. / Zellwert ist gleich =1 | Abc |
|
Excel Tabellen im Web darstellen >> Excel Jeanie HTML 4.8
Gruß
Marcus
Hallo an Alle,
das Problem ist, dass die Anzahl mit der Beschreibung in einer Zelle steht.
LG
Hallo,
ich glaube da ist noch mehr hinter ...
Gibt es nur Flasche / Flaschen? oder gibt es auch noch Dose/Dosen? Dann solltest Du seperate Zellen nutzen. In dem Fall solltest Du eine Beispieltabelle einstellen.
Gruß
Marcus
Hi Erika,
so?
Arbeitsblatt mit dem Namen 'Tabelle1' |
| A | B |
1 | 2 Flaschen | bla |
2 | 1 Flasche | blub |
Zelle | Format | Wert |
A1 | [=1]0 "Flasche";0 "Flaschen" | 2 |
A2 | [=1]0 "Flasche";0 "Flaschen" | 1 |
Zelle | bedingte Formatierung... | Format |
A1 | 1: $A1=1 | abc |
B1 | 1: $A1=1 | abc |
A2 | 1: $A2=1 | abc |
B2 | 1: $A2=1 | abc |
Verwendete Systemkomponenten: [Windows (32-bit) NT 10.00] MS Excel 2016 |
Diese Tabelle wurde mit Tab2Html (v2.6.0) erstellt. ©Gerd alias Bamberg |
Nochmal Hallo,
Tabelle1Bedingte Formatierungen der Tabelle |
Zelle | Nr.: / Bedingung | Format | A1 | 1. / Formel ist =LÄNGE(TEIL(A1;3;LÄNGE(A1)-2))>7 | Abc | A2 | 1. / Formel ist =LÄNGE(TEIL(A1;3;LÄNGE(A1)-2))>7 | Abc |
|
Excel Tabellen im Web darstellen >> Excel Jeanie HTML 4.8
Gruß
Marcus
Hi Marcus,
Erika hat nicht Flasche/Flaschen in der Zelle stehen, sondern Ganzzahlen. Flasche/Flaschen wird durch benutzerdef. Formatierung erzeugt.
Arbeitsblatt mit dem Namen 'Tabelle1' |
| A | B |
1 | 12 Flaschen | 2 |
2 | 1 Flasche | 1 |
Zelle | Formel |
B1 | =LÄNGE(A1) |
B2 | =LÄNGE(A2) |
Verwendete Systemkomponenten: [Windows (32-bit) NT 10.00] MS Excel 2016 |
Diese Tabelle wurde mit Tab2Html (v2.6.0) erstellt. ©Gerd alias Bamberg |
Hallo Günter,
dann stimmt mein erstes Beispiel ja doch ...
Gruß
Marcus
Tabelle1 | A | B | C | D |
1 | Anzahl | Name | Ort | Plz |
2 | 0 Flaschen | Name0 | Ort0 | plz0 |
3 | 1 Flasche | Name1 | Ort1 | plz1 |
4 | 2 Flaschen | Name2 | Ort2 | plz2 |
5 | 3 Flaschen | Name3 | Ort3 | plz3 |
6 | 15 Flaschen | Name4 | Ort4 | plz4 |
7 | 1 Flasche | Name5 | Ort5 | plz5 |
8 | 17 Flaschen | Name6 | Ort6 | plz6 |
9 | 18 Flaschen | Name7 | Ort7 | plz7 |
10 | 19 Flaschen | Name8 | Ort8 | plz8 |
Bedingte Formatierungen der Tabelle |
Zelle | Nr.: / Bedingung | Format | A2 | 1. / Formel ist =A2=1 | Abc | B2 | 1. / Formel ist =A2=1 | Abc | C2 | 1. / Formel ist =A2=1 | Abc | D2 | 1. / Formel ist =A2=1 | Abc | A3 | 1. / Formel ist =A2=1 | Abc | B3 | 1. / Formel ist =A2=1 | Abc | C3 | 1. / Formel ist =A2=1 | Abc | D3 | 1. / Formel ist =A2=1 | Abc | A4 | 1. / Formel ist =A2=1 | Abc | B4 | 1. / Formel ist =A2=1 | Abc | C4 | 1. / Formel ist =A2=1 | Abc | D4 | 1. / Formel ist =A2=1 | Abc | A5 | 1. / Formel ist =A2=1 | Abc | B5 | 1. / Formel ist =A2=1 | Abc | C5 | 1. / Formel ist =A2=1 | Abc | D5 | 1. / Formel ist =A2=1 | Abc | A6 | 1. / Formel ist =A2=1 | Abc | B6 | 1. / Formel ist =A2=1 | Abc | C6 | 1. / Formel ist =A2=1 | Abc | D6 | 1. / Formel ist =A2=1 | Abc | A7 | 1. / Formel ist =A2=1 | Abc | B7 | 1. / Formel ist =A2=1 | Abc | C7 | 1. / Formel ist =A2=1 | Abc | D7 | 1. / Formel ist =A2=1 | Abc | A8 | 1. / Formel ist =A2=1 | Abc | B8 | 1. / Formel ist =A2=1 | Abc | C8 | 1. / Formel ist =A2=1 | Abc | D8 | 1. / Formel ist =A2=1 | Abc | A9 | 1. / Formel ist =A2=1 | Abc | B9 | 1. / Formel ist =A2=1 | Abc | C9 | 1. / Formel ist =A2=1 | Abc | D9 | 1. / Formel ist =A2=1 | Abc | A10 | 1. / Formel ist =A2=1 | Abc | B10 | 1. / Formel ist =A2=1 | Abc | C10 | 1. / Formel ist =A2=1 | Abc | D10 | 1. / Formel ist =A2=1 | Abc |
|
Excel Tabellen im Web darstellen >> Excel Jeanie HTML 4.8
Nein, Marcus, leider nicht.
In deinem Beispiel stehen die Flaschen (manuell eingetragen) in spalte A und die Werte in B.