Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ynissel
 
Posts: n/a
Default Max number of IF statements

What is the max number of If statements you can use in a formula ?
Thanks,
yosef
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

7 embedded IFs, which means you can have the word IF a total of 8 times.
************
Anne Troy
www.OfficeArticles.com

"ynissel" wrote in message
...
What is the max number of If statements you can use in a formula ?
Thanks,
yosef



  #3   Report Post  
DaveB
 
Posts: n/a
Default

You can have 8 maximum nested if statements in 1.
--
Regards,

Dave


"ynissel" wrote:

What is the max number of If statements you can use in a formula ?
Thanks,
yosef

  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

You can have dozens of IF() statements, but they can only be nested 7
deep. For a workaround, see

http://cpearson.com/excel/nested.htm

OTOH, if you have to nest more than 4 or 5 deep, it's almost always
easier to use an alternative method, e.g., Lookups, math operations, etc.


In article ,
"ynissel" wrote:

What is the max number of If statements you can use in a formula ?
Thanks,
yosef

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
Formula for current month minus one = Quarter number in a macro. Pank Excel Discussion (Misc queries) 11 June 22nd 05 02:47 PM
doubling a number X number of times Bob Excel Worksheet Functions 1 June 17th 05 12:54 AM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
Need number of Saturdays and number of Sundays between 2 dates Class316 Excel Worksheet Functions 1 June 10th 05 02:47 AM
How do I sort a column a unique number? ChelleA Excel Worksheet Functions 7 February 19th 05 10:38 AM


All times are GMT +1. The time now is 10:35 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"