Forum Discussion
SUDHAKAR-FRONTIER
Jan 16, 2021Brass Contributor
Ifs negative values error
Dear All, I hope doing great, kindly help me for the below error, i want check 3 condition, =IFS(M1>=0.5, "GREEN",M1<=0.5," AMBER",M1<=-0.1,"RED") like A>=0.5, GREEN, A<=0.5, AMBER, A...
SUDHAKAR-FRONTIER
Jan 16, 2021Brass Contributor
Riny
Still same error coming,
like
3 conditions.
1. m1<=0.5, "green".
2. m1>=0.5, "amber".
3. m1>=0, "red" --> so here 0 and minus values should reflecting in red but above function only - values taking, Its not taking 0,
So help me on 3rd condition, its should take 0 and minus values also for red..
Riny_van_Eekelen
Jan 16, 2021Platinum Contributor
SUDHAKAR-FRONTIER As suggested by SergeiBaklan , try this then:
=IFS(M1>=0.5,"GREEN",M1<=0,"RED",M1<=0.5,"AMBER")
- SUDHAKAR-FRONTIERJan 16, 2021Brass Contributor
- Riny_van_EekelenJan 16, 2021Platinum Contributor
- SergeiBaklanJan 16, 2021Diamond Contributor
Perhaps rounding issue
=LET(n, ROUND(M2,0), IFS(n>=0.5,"GREEN",n<=0,"RED",n<=0.5,"AMBER"))