Posted to microsoft.public.excel.worksheet.functions
|
|
IF statement - multiple scenarios
Much more concise than mine! I didn't know about the sign function. Thanks.
--
JNW
"Roger Govier" wrote:
Hi
One way
=SIGN(A1)*IF(ABS(A1)<13,1,IF(ABS(A1)<25,2,3))
--
Regards
Roger Govier
"Laz" wrote in message
...
I'm sure this will be simple to many of you but I really need to know how
to
formulate this into one statement, Any help is greatly appreciated.
IF A1 0 but < 13, 1
IF A1 < 0 but -13, -1
IF A1 12 but < 25, 2
IF A1 < -12 but -25, -2
IF A1 24, 3
IF A1 < -24, -3
You can also email me at
Thanks a lot.
Larry (Laz)
|