Forum Discussion
WENN und WENNFEHLER - zu wenig Argumente?
- Jul 31, 2020
Try this:
=WENNFEHLER(WENN((E10-H10)/E10<-30%;(E10-H10)/E10;WENN((E10-H10)/E10>30%;(E10-H10)/E10;""));"")
Try this:
=WENNFEHLER(WENN((E10-H10)/E10<-30%;(E10-H10)/E10;WENN((E10-H10)/E10>30%;(E10-H10)/E10;""));"")
- Tanja1451Apr 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 ????
- SimvaJul 31, 2020Copper Contributor
Funktioniert perfekt, danke! Ergibt auch total Sinn - habe mir schon den Kopf zerbrochen wie ich die beiden Formelarten miteinander verbinde, aber das ist mir so gar nicht eingefallen ^.^
Vielen Dank!
- Riny_van_EekelenJul 31, 2020Platinum Contributor
Simva You're welcome!