Help with expression "if" in a value range

Hi you all !!!

Hi. I have a value range like from 185 to 210 is SMALL, from 210 to 235 is BIG, and from 235 to 259 is VERY BIG.

How can I do that with and "if" expression?

Like always, thanks in advance

Solved Solved
0 6 98
3 ACCEPTED SOLUTIONS

You can use IFS() instead.

View solution in original post

The first conditional statement is less than 210 and a second condition is less than 235 in IFS().

Any numbers below 185 are also evaluated as big but I assume you don't have such cases because you have not identified any classification for those numbers.

View solution in original post

you mean the label should be blank?

 

IFS(
 [col]<185, "",
 [col]<210,"BIG",
 [col]=<235,"VERY BIG",
 [col]>235,""
)

Note: Please mark only the post that actually solves your issue.

 

View solution in original post

6 REPLIES 6

You can use IFS() instead.

OK. And hoy can compare a value for example for this range:

185 to 210:    between 185 to 210 the value is BIG, between 210 to 235 is VERY BIG

The first conditional statement is less than 210 and a second condition is less than 235 in IFS().

Any numbers below 185 are also evaluated as big but I assume you don't have such cases because you have not identified any classification for those numbers.

Numbers below or above the range should not be evaluated

How I should do that?

Regards

you mean the label should be blank?

 

IFS(
 [col]<185, "",
 [col]<210,"BIG",
 [col]=<235,"VERY BIG",
 [col]>235,""
)

Note: Please mark only the post that actually solves your issue.

 

Top Labels in this Space