Alternative to Nested If statments

camperman

New Member
Joined
Jan 24, 2005
Messages
14
I am completely blanking and am now curious if I am totally imagining it.

Using Excel 2007, I thought I had used a formula with the syntax:

=XXXXX(A1<=0, “Zero”, A1<=10, “1-10”, A1>10,”11+”)

Although now I am looking thru the list of formula's and not seeing anything that jumps out at me. I was thinking maybe I am thinking of having used a Choose statement with some intermediate steps to setup an index.

I could easily do this with nested If's, but I am sure I have done something like this w/o them before and am on a mission to remember.

Anyone have any thoughts? Thanks.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Perhaps:

=LOOKUP(A1,{-9.999999999999E+307,"Zero";1,"1-10";11,"11+"})
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
Members
449,080
Latest member
Armadillos

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