What is wrong with my nested IF statement?

Simale

New Member
Joined
Aug 2, 2018
Messages
2
I am tring to have people exter a number between 1 & 4 in a cell in column E and have this in the cells in column F to display the corsponding text that goes with the number they entered.

Excel keeps saying the function is wrong and I can't seem to be able to figure out what it is I am doing wrong.

Se below for my function:

Code:
=IF(E2>0,"New",IF(E2>1,"Beginner",IF(E2>2,"Experienced",IF(E2>3,"Veteran",IF(E2>4,"Choose a number between 1 and 4","Chose level between 1-4 to the left")))))
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Code:
=LOOKUP(E2,{0,"New";1,"Beginner";2,"Experienced";3,"Veteran";4,"Choose a number between 1 and 4"})
 
Upvote 0
try this instead

=CHOOSE(E1,"New","Beginner","Experienced",Veteran)
 
Upvote 0
You have the order of your IF statements wrong, so it will only ever give 'New'. Try this instead:

=IF(E2>4,"Choose a number between 1 and 4",IF(E2>3,"Veteran",IF(E2>2,"Experienced",IF(E2>1,"Beginner",IF(E2>0,"New","Choose level between 1-4 to the left")))))

John
 
Upvote 0
Just spotted that I missed your other condition ...
so ignore post3

=IF(AND(E2>0,E2<5),CHOOSE(E2,"New","Beginner","Experienced",Veteran),"Choose a level between 1-4 to the left")
 
Upvote 0
Thank you all for trying to help me. I have tried them all and sadly none of them worked.
They all gave the same non-descriptive generic error message that something is wrong with my function just as with my original function.

I can't begin to figure out how come none of these worked.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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