funcion switch

CJP
Bronze 2
Bronze 2

Can someone please tell me what's wrong here?

Switch(Number([IMC]),
<=30,"ok",
<=40,"No",
"62")

Appsheet says "Expression 'Switch(Number([IMC]), <=30,"ok", <=40,"No", "62")' was unable to be parsed: Sequence contains no elements."

Thanks

Solved Solved
0 2 828
1 ACCEPTED SOLUTION

SWITCH() cannot check a range of values.  It is meant for precise matching only.  If you wish to check value ranges then you will want to use the IFS() function.

https://help.appsheet.com/en/articles/2355961-ifs

 

 

View solution in original post

2 REPLIES 2

SWITCH() cannot check a range of values.  It is meant for precise matching only.  If you wish to check value ranges then you will want to use the IFS() function.

https://help.appsheet.com/en/articles/2355961-ifs

 

 

 

Thanks.jpg

โ€ƒ

Top Labels in this Space