Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default if else statement


I am creating an if else statement, but only seven nested if statements
can be used in one cell, and i need to use 12 nested if statements how
to i combine my if statments together in the two cells. I am using
Excel XP Professional


--
trixma
------------------------------------------------------------------------
trixma's Profile: http://www.excelforum.com/member.php...o&userid=25702
View this thread: http://www.excelforum.com/showthread...hreadid=395710

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default if else statement


someone posted on this prior - solution is to do 6 of the ifs in one
cell and the other 6 in another cell


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=395710

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default if else statement

You can name the formulas the same way you name a range. In the Refers To:
box put a formula with 6 of your IF's. Give it a name like Formula1. Then do
it again for the next 5 IF's and give it a name like Formula2. Then in your
worksheet cell use them in a formula with your final IF something like this:

IF(Formula1, Formula2, "Whatever") or IF(AND(Formula1, Formula2), "True",
"False"), however you need to combine them. As you can see by giving a
formula with 7 IF's a name, and then refering to that name in a formula,
Excel now sees it as only 1 element, not 7. Getting around the 7 IF limit is
much easier than keeping track of the logic needed to create a monster IF
statement like this.

Mike F
"trixma" wrote in
message ...

I am creating an if else statement, but only seven nested if statements
can be used in one cell, and i need to use 12 nested if statements how
to i combine my if statments together in the two cells. I am using
Excel XP Professional


--
trixma
------------------------------------------------------------------------
trixma's Profile:
http://www.excelforum.com/member.php...o&userid=25702
View this thread: http://www.excelforum.com/showthread...hreadid=395710



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default if else statement

You should be looking at an alternative to nested IFs, such as VLOOKUP. Give
more details on the conditions and we can point you there.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"trixma" wrote in
message ...

I am creating an if else statement, but only seven nested if statements
can be used in one cell, and i need to use 12 nested if statements how
to i combine my if statments together in the two cells. I am using
Excel XP Professional


--
trixma
------------------------------------------------------------------------
trixma's Profile:

http://www.excelforum.com/member.php...o&userid=25702
View this thread: http://www.excelforum.com/showthread...hreadid=395710



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


All times are GMT +1. The time now is 12:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"