ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Max number of IF statements (https://www.excelbanter.com/excel-worksheet-functions/41644-max-number-if-statements.html)

ynissel

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

Anne Troy

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




DaveB

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


JE McGimpsey

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



All times are GMT +1. The time now is 02:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com