Too Many Arguments - If Number is Between a Range, Then it is This

blahmin027

New Member
Joined
Jun 9, 2014
Messages
32
I have a column of numbers from 0 to 100, and now I need to group them according to a range:

0-24 = Poor
25-49 = Low
50-74 = Medium
75-100 = High

I tried doing this formula but Excel said there is too many arguments

=IF(D2>=1,D2<=24,"Poor",IF(D2>=25,D2<=49,"Low",IF(D2>=50,D2<=74,"Medium",IF(D2>=75,D2<=100,"High")))

Can anyone help me what formula I should do?

Thanks
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How about
=LOOKUP(D2,{0,25,50,75},{"Poor","Low","Medium","High"})
 
Upvote 0
Thank you so much! It worked and much more elegant than what I did that also worked

=IF(D2<=24,"Poor",IF(D2<=49,"Low",IF(D2<=74,"Medium",IF(D2<=100,"High"))))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,726
Members
448,987
Latest member
marion_davis

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