If command to categorize integers to fall into four categories?

I am having problems with If command to categorize integers to fall into four categories? 0-4 A
5-9 B
10-19 D
20-29 D
in that order

IMG_20210804_115312_502

If command works with four possible outcomes? does it support ranges of integers? way if((${score}<5…, if((${score}>9<20, “moderate”, “severe”))

Welcome to the community, @macleanchiona! Maybe you could do it as outlined in the post discussed previously:

This is helpful… thanks for your help…

1 Like