IF AND Statement

shatan

New Member
Joined
Mar 20, 2013
Messages
22
Hi All, i got brain freeze this morning,
im trying to wright an argument, where if the value is less than 309 answer is poor,
between 309 to 462 it is Average and between 462 and 616 Good and above 616 is excellent,
now i also need to add the 309 to the "poor" and Good to 462 and Average to the 616, but this is what i have wrote and it doesn't like it.
=IF(C604<309,"POOR",IF(AND(C604>309=TRUE,<462=TRUE,"AVERAGE",IF(AND(C604>462=TRUE, <616=TRUE,"GOOD",IF(C604>616,"EXCELLENT"))))))
i know this is a simple request and i should know it by now, sorry to be a pain.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi All, i got brain freeze this morning,
im trying to wright an argument, where if the value is less than 309 answer is poor,
between 309 to 462 it is Average and between 462 and 616 Good and above 616 is excellent,
now i also need to add the 309 to the "poor" and Good to 462 and Average to the 616, but this is what i have wrote and it doesn't like it.
=IF(C604<309,"POOR",IF(AND(C604>309=TRUE,<462=TRUE,"AVERAGE",IF(AND(C604>462=TRUE, <616=TRUE,"GOOD",IF(C604>616,"EXCELLENT"))))))
i know this is a simple request and i should know it by now, sorry to be a pain.

cracked it
=IF(AND(C604<=309),"POOR",IF(AND(C604>309,C604<=462),"AVERAGE",IF(AND(C604>462,C604<=610),"GOOD",IF(AND(C604>616),"EXCELLENT"))))
 
Upvote 0

Forum statistics

Threads
1,218,756
Messages
6,144,304
Members
450,536
Latest member
DavidRankin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top