Hallo Cracks,
kurze Nachfrage zu einem wiederkehrenden Problem.
Bei Ergebnisdarstellungen wird oftmals die Differenz ausgewiesen und
die sollte dann vorzeichenmässig richtig sein, was es nicht in jedem Fall
automatisch ist:
Tabelle1
| B | C | D | E | F | G | H | |
| 5 | Wenns | ||||||
| 6 | 2009 | 2010 | Diff in % | Diff in % | |||
| 7 | |||||||
| 8 | Ergebnis | -0.20 | -0.30 | 50% | -50% | ||
| 9 | Ergebnis | -0.20 | -0.10 | -50% | 50% | ||
| 10 | |||||||
| 11 | Ergebnis | -0.20 | 0.10 | -150% | 150% | ||
| 12 |
| verwendete Formeln | ||
| Zelle | Formel | Bereich |
| F8 | =D8/C8-1 | |
| H8 | =WENN(UND(D8<=0; D8<C8); -(D8/C8-1); WENN(UND(D8<=0; D8>C8); -(D8/C8-1); WENN(UND(D8>0; D8>C8); -(D8/C8-1); D8/C8-1))) | |
| F9 | =D9/C9-1 | |
| H9 | =WENN(UND(D9<=0; D9<C9); -(D9/C9-1); WENN(UND(D9<=0; D9>C9); -(D9/C9-1); WENN(UND(D9>0; D9>C9); -(D9/C9-1); D9/C9-1))) | |
| F11 | =D11/C11-1 | |
| H11 | =WENN(UND(D11<=0; D11<C11); -(D11/C11-1); WENN(UND(D11<=0; D11>C11); -(D11/C11-1); WENN(UND(D11>0; D11>C11); -(D11/C11-1); D11/C11-1))) | |
| Füllfarben und Muster | ||||||
| Zelle | Rot | Grün | Blau | Color | Muster | Farbe |
| F8 | 255 | 153 | 0 | 39423 | ||
| H8 | 204 | 255 | 204 | 13434828 | ||
| F9 | 255 | 153 | 0 | 39423 | ||
| H9 | 204 | 255 | 204 | 13434828 | ||
| F11 | 255 | 153 | 0 | 39423 | ||
| H11 | 204 | 255 | 204 | 13434828 | ||
Tabellendarstellung in Foren Version 5.30
Geht dies ausschliesslich mit der etwas umständlichen Wenn-Definition oder
gäbe es auch noch andere Ansätze? Wie seht Ihr das?
Danke für Euer Feedback.
Gruss
Mike