OT Nullwerte unterdrücken mit Formatierung
31.03.2012 21:23:41
Reinhard
Hallo Hajo, Interessierte,
woanders ging es grad auch um Nullunterdrückung, wenn auch die dortige Anfrage anders ist.
Im Zuge dessen habe ich mal drei Varianten der Zellformatierung durchgespielt,
";;;" , "Standard;Standard;;" , ";;;"""
Wie Zelle C9 im Vergleich zu C7,C11 aufzeigt bestehen da Unterschiede.
Tabellenblatt: [Mappe1]!Tabelle2
│ A │ B │ C │ D │ E │ F │ G │
---┼---┼---┼---┼---┼---┼---┼---┼
1 │ 5 │ 5 │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
2 │ │ │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
3 │ 5 │ 5 │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
4 │ │ │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
5 │ 5 │ 5 │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
6 │ │ │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
7 │ 7 │ 5 │ │ 6 │ 8 │ 8 │ 4 │
---┼---┼---┼---┼---┼---┼---┼---┼
8 │ │ │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
9 │ 7 │ 5 │ 2 │ 6 │ 8 │ 8 │ 4 │
---┼---┼---┼---┼---┼---┼---┼---┼
10 │ │ │ │ 6 │ 6 │ 6 │ 0 │
---┼---┼---┼---┼---┼---┼---┼---┼
11 │ 7 │ 5 │ │ 6 │ 8 │ 8 │ 4 │
---┼---┼---┼---┼---┼---┼---┼---┼
12 │ │ │ │ 6 │ 6 │ 6 │ 0 │
---┴---┴---┴---┴---┴---┴---┴---┴
Benutzte Formeln:
C1 : =A1-B1
C2 : =A2-B2
usw. in C
E1 : =C1+D1
E2 : =C2+D2
usw. in E
F1 : =SUMME(C1:D1)
F2 : =SUMME(C2:D2)
usw. in F
G1 : =C1*2
G2 : =C2*2
usw. in G
Zahlenformate der Zellen im gewählten Bereich:
A1:A12,B1:B12,D1:D12,E1:E12,F1:F12,G1:G12
haben das Zahlenformat: Standard
C1:C2,C7:C8
haben das Zahlenformat: ;;;
C3:C4,C9:C10
haben das Zahlenformat: Standard;Standard;;
C5:C6,C11:C12
haben das Zahlenformat: ;;;""
Gruß
Reinhard