Can you have 2 If statements in a formula without having to do Visual Basic?
O oatjes May 30, 2008 #1 Can you have 2 If statements in a formula without having to do Visual Basic?
K Kevin B May 30, 2008 #2 Sure, you can nest them one within the other: =IF(Condition1,True1,IF(Condition2,True2,False2)) or =IF(Condition1,IF(Condition2,True2,False2),IF(Condition3,True3,False3)) In Excel 2003 you can have up to 7 nested levels. I don't remember what it is for either earlier versions or Excel 2007. Look up Nested functions in help for details on your release
Sure, you can nest them one within the other: =IF(Condition1,True1,IF(Condition2,True2,False2)) or =IF(Condition1,IF(Condition2,True2,False2),IF(Condition3,True3,False3)) In Excel 2003 you can have up to 7 nested levels. I don't remember what it is for either earlier versions or Excel 2007. Look up Nested functions in help for details on your release
J Joe Mac May 30, 2008 #3 Yes, Excel will allow you do include up to 7 nested "IF-THEN-ELSE" statements within a formula
K Kevin B May 30, 2008 #5 Sure would... -- Kevin Backmann oatjez said: Would this also work with Excel 2000 version?? Click to expand...
Sure would... -- Kevin Backmann oatjez said: Would this also work with Excel 2000 version?? Click to expand...