Forum Discussion
Simva
Jul 31, 2020Copper Contributor
WENN und WENNFEHLER - zu wenig Argumente?
Hallo, ich versuche eine Kombination aus WENN und WENNFEHLER zu basteln. Darin ist eine Rechnung enthalten - ergibt diese weniger als -30%, soll das Ergebnis angezeigt werden, gleiches bei mehr ...
- Jul 31, 2020
Try this:
=WENNFEHLER(WENN((E10-H10)/E10<-30%;(E10-H10)/E10;WENN((E10-H10)/E10>30%;(E10-H10)/E10;""));"")
Riny_van_Eekelen
Jul 31, 2020Platinum Contributor
Try this:
=WENNFEHLER(WENN((E10-H10)/E10<-30%;(E10-H10)/E10;WENN((E10-H10)/E10>30%;(E10-H10)/E10;""));"")
Tanja1451
Apr 01, 2024Copper Contributor
if your excel version (german like excel 2016 instead of 2021) does´nt know "WENNS", you should use "WENN" as this:
Error infilled:{=_xlfn.IFS(I5<>"";$K$2;J5<>"";$K$2;B5="Mittwoch";$F$2;B5<>"Mittwoch";$H$2)}
original:
=WENNS(I5<>"";$K$2;J5<>"";$K$2;B5="Mittwoch";$F$2;B5<>"Mittwoch";$H$2)
you try this for it:
=WENNFEHLER(WENN(I5<>"";$K$2;WENN(J5<>"";$K$2;WENN(B5="Mittwoch";$F$2;WENN(B5<>"Mittwoch";$H$2;""))));"")
this does following:
if I5 or J5 is emty write K2 (exsamle hours: K2=8:00)
if B2 is "Mittwoch" write F2 (F2=5:00)
if B2 is an other weekday write H2 (H2=8:30)
if other or error write nothing
that I test and it works, you can build it for more questions bigger and it works with excel 2016 too!
- Riny_van_EekelenApr 01, 2024Platinum Contributor
Tanja1451 ????