Seamus2626
asked on
IF/OR Statement
Hi, can someone amend the below, im getting an value error message
=IF(OR(O2="91+","31-90")," Over 30","Under 30")
Thanks
Seamus
=IF(OR(O2="91+","31-90"),"
Thanks
Seamus
what do you want to achieve
ASKER
If cell O2 = 91+ or 31-90, then Over, if not, then under
Thanks
Seamus
Thanks
Seamus
Try this instead...
=IF(O2 >= 90,"Over 90",IF(O2 >=60,"60 to 90",IF(O2 >=30,"30 to 60","Under 30")))
=IF(O2 >= 90,"Over 90",IF(O2 >=60,"60 to 90",IF(O2 >=30,"30 to 60","Under 30")))
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
=IF((O2>30),"Over 30","Under 30")
OR is using logical test.
O2 = "91+" is a logical test.
"31-90" is not a logical test.
logical-test.JPG
O2 = "91+" is a logical test.
"31-90" is not a logical test.
logical-test.JPG
ASKER
Thanks all, this was the solution that worked.
Cheers,
Seamus
Cheers,
Seamus