If Statement....HELP!

Tapout

New Member
Joined
Aug 8, 2010
Messages
2
Is it possible to set an IF statement that searches for a range.

For example grading homework. If cell A1 contained the students grade and I want cell A2 to say: If A1 is equal to or less than 79.9%, then A2 would say "Needs Improvement," but if A1 was 80-89.9% then A2, would say "Good Job", but if A1 was 90-94.9% then A2 would say "Great Work", and finally if A1 was 95% or greater then A2 would say "Fantastic Job"?

Is it an IF statement such as this possible? Thank you in advance!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi and welcome

=IF(A8>=95%, "Fantastic Job", IF(A8>=90%, "Great Work", IF(A8>=80%, "Good Job", "Needs Improvement")))

or

=LOOKUP(A8,{0,0.8,0.9,0.95},{"Needs Improvement","Good Job","Great Work","Fantastic"})

HTH

Dave
 
Last edited:
Upvote 0
Dave3009, Thanks a lot!

That worked out perfect, I was using the actual range before and could only get the first and last argument to calculate.
 
Upvote 0

Forum statistics

Threads
1,214,859
Messages
6,121,963
Members
449,059
Latest member
oculus

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