G
Guest
Am using the following in reports to identify various categories, based upon
an accumulated total:
=Switch((-Sum([Raw]*24))>="40","super",(-Sum([Raw]*24))>="24" And
(-Sum([Raw]*24))<="39","PLUS",(-Sum([Raw]*24))<"24","NONE")
This works unless the accumulated number is a single digit, i.e. "8", "9".
It appears to read this as a number greater than or equal to "40" and prints
"SUPER" rather than less than "24" and printing "NONE".
How do I correct this?
an accumulated total:
=Switch((-Sum([Raw]*24))>="40","super",(-Sum([Raw]*24))>="24" And
(-Sum([Raw]*24))<="39","PLUS",(-Sum([Raw]*24))<"24","NONE")
This works unless the accumulated number is a single digit, i.e. "8", "9".
It appears to read this as a number greater than or equal to "40" and prints
"SUPER" rather than less than "24" and printing "NONE".
How do I correct this?