How Can I Post These Mutliple If Statements In One Cell?

aedctalk

Board Regular
Joined
Oct 9, 2010
Messages
156
How Can I Post These Mutliple If Statements In One Cell? PLEASE :)

Thank you so much in advance!!

Code:
=if(Configuration!J40=8, 9, if(Configuration!J40=9, 10),if(Configuration!J40=10, 11),if(Configuration!J40=11, 12),if(Configuration!J40=12, 13),if(Configuration!J40=13, 14),if(Configuration!J40=14, 15),if(Configuration!J40=15, 16),if(Configuration!J40=16, 17),if(Configuration!J40=17, 18),"")
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You can only have up to seven nested statements. Try:

=IF(AND(Configuration!J40>=8,Configuration!J40<=17),Configuration!J40+1,"")
 
Upvote 0
I'm sure there's a better way, but does:

=IF(Configuration!J40=8,9,IF(Configuration!J40=9,10,IF(Configuration!J40=10,11,IF(Configuration!J40=11,12,IF(Configuration!J40=12,13,IF(Configuration!J40=13,14,IF(Configuration!J40=14,15,IF(Configuration!J40=15,16,IF(Configuration!J40=16,17,IF(Configuration!J40=17,18,""))))))))))

work?
 
Upvote 0
How Can I Post These Mutliple If Statements In One Cell? PLEASE :)

Thank you so much in advance!!

Code:
=if(Configuration!J40=8, 9, if(Configuration!J40=9, 10),if(Configuration!J40=10, 11),if(Configuration!J40=11, 12),if(Configuration!J40=12, 13),if(Configuration!J40=13, 14),if(Configuration!J40=14, 15),if(Configuration!J40=15, 16),if(Configuration!J40=16, 17),if(Configuration!J40=17, 18),"")
Code:
=IF(Configuration!J40>17,"",Configuration!J40+1)
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,762
Members
452,940
Latest member
rootytrip

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