Multiple (more than 7) IF Formula

marihouse

Board Regular
Joined
Jan 14, 2004
Messages
84
Is there a way to have more than 7 "IF" statements in a formula? If so, how?!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
no, only 7 nested. alternatives do exist, like using vlookup or hlookup and such, or the AND and OR functions.
 
Upvote 0
Just to go back a few threads in this discussion, Everyone agrees that the IF statement can only accomodate 7 IF's (Nested IF statement), but I have on occasion had to use IF for 9 or more conditions. Like so:

[Cell A1] = Nested IF statement containing 7 conditions but make the final "Condition if false", "" , (two apstrophies) in other words nothing.

Do the same to cell [A2] and cell [A3] if required. (Total of 21 IF's)

Then simply =A1&A2&A3 in the required cell to achieve your answer.

If the correct condition is not found in A1, the result is nothing, so adding nothing to cell A2 equals A2. Similarly if the result is not in A2, the answer is in A3. For correctness, make the final pair of apostrophies in A3 into a statment such as "Item not found"

It might be clumsy, but it works!

But, as my esteemed superiors say, there are easier ways!!!
 
Upvote 0
iridiums post will probably generate the best alternatives, as at the j-walk website. using the ampersand - concatenate - is useful to keep the functions in a single cell.

alternatively atmospheric's idea is great for sharing multiple if statements with various other cells. i.e. multiple other formulas only needing particular parts of the if statements. this would seem to be the most dynamic, to me.

good stuff though.
 
Upvote 0
hi can you post the multiple IF's you have so far, either in reply or using Colo's utility, and a broader description in your own words of what you are trying to achieve, as I have found on this site there are many ways to skin a cat, so to speak
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,270
Members
449,149
Latest member
mwdbActuary

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