Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default WHAT IS THE MAX NUMBER OF "IF" CONDITIONS POSSIBLE IN ONE FOUMULA

as above, what is the max number of "if" conditions available in one formula?
i cannot seem to add more than 8??
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default WHAT IS THE MAX NUMBER OF "IF" CONDITIONS POSSIBLE IN ONE FOUM

Actually, there is no real limit on the number of IF functions in a single
formula. The limit is on the levels of nesting. Functions can be nested up
to 7 levels deep in a formula.

For example, the following formula far exceeds 8 IFs in a single formula,
but still adheres to the limit of 7 levels of nesting.

=IF(A1=1,"A",IF(A1=2,"B",IF(A1=3,"C",IF(A1=4,"D",I F(A1=5,"E",IF(A1=6,"F",IF(A1=7,"G",IF(A1=8,"H","") )))))))&IF(A1=9,"I",IF(A1=10,"J",IF(A1=11,"K",IF(A 1=12,"L",IF(A1=13,"M",IF(A1=14,"N",IF(A1=15,"O",IF (A1=16,"P",""))))))))

HTH,
Elkar


"Mike" wrote:

It's seven

Mike

"gallie" wrote:

as above, what is the max number of "if" conditions available in one formula?
i cannot seem to add more than 8??

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default WHAT IS THE MAX NUMBER OF "IF" CONDITIONS POSSIBLE IN ONE FOUMULA

It's seven

Mike

"gallie" wrote:

as above, what is the max number of "if" conditions available in one formula?
i cannot seem to add more than 8??

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
WHAT IS THE MAX NUMBER OF "IF" CONDITIONS POSSIBLE IN ONE FOUMULA Stefi Excel Worksheet Functions 0 March 28th 07 01:56 AM
find/replace "cr" from end of number to "-" in front of number Dave o Excel Discussion (Misc queries) 2 August 22nd 06 09:24 PM
Syntax to "OR" 3 "ISERROR" conditions Mike K Excel Worksheet Functions 6 July 22nd 06 04:18 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 05:43 PM.

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

About Us

"It's about Microsoft Excel"