Frustratingly simple IF issue

Joined
Feb 10, 2014
Messages
13
Hi Everyone,

I have a really frustrating issue with what should be a simple formula. I want to say that
IF C12 is greater than or equal too 100 and less than 2500 = Name 1
IF C12 is greater than or equal too 2500 and less than 5000 = Name 2
If C12 is greater than or equal too 5000 equal Name 3
if anything else the equal Name 4

This is may formula which keeps on returning an error message whatever I do:
=IF(AND(C12>=1000,C12<2500),"Name1",IF(AND(C12>=2500,C12<5000),"Name2",IF(C12>=5000),"Name3","Name4"))

Can anyone please help?

Thanks

Steve
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Try:
Code:
=IF(C12>=5000,"Name3",IF(C12>=2500,"Name2",IF(C12>=100,"Name1","Name4")))
 
Upvote 0
=IF(AND(C12>=1000,C12<2500),"Name1",IF(AND(C12>=2500,C12<5000),"Name2",IF(C12>=5000),"Name3","Name4")))

Remove the parentheses after 5000 and add a parentheses at the end. It should work.
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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