As the third input parameter of the IF function, which is what to display if the first input parameter is false, insert another IF function.
Example:
="It's " & IF(WEEKDAY(TODAY())=1,"Sunday!",IF(WEEKDAY(TODAY())=2,"Monday!",IF(WEEKDAY(TODAY())=3,"Tuesday!",IF(WEEKDAY(TODAY())=4,"Wednesday!",IF(WEEKDAY(TODAY())=5,"Thursday!",IF(WEEKDAY(TODAY())=6,"Friday!","Saturday!"))))))
A nested if.
It is a table inside another table.
A nested formula is where one or more functions are placed inside another function to make a formula. For example you can write a formula where you put an IF function within an IF function and this would be a nested formula.
we use "nested if" if we have to test a large number of possibilities and trials i an if statement.
Excel 2003 = 8 levels of nesting Excel 2007 = 64 levels of nesting
printf ("nested printf returned %d\n", printf ("inner printf\n"));
In Excel a function within another function would be called a nested function.
Please ask clearly what you want to do with the image and explain why a nested for-loop is necessary.
Prior to Excel 2007, the maximum was 7. From Excel 2007, the limit has been raised to 64. However, it becomes very impractical using too many nested IFs, so it is better to look for other ways where it is possible, like breaking down your formulas or using a lookup function, like VLOOKUP.
you need nothing
i would need a little more information to be specific to your need, however the general way is =if(A1=2,"True value","False value",if(A1=3,"True Value","False Value)) you can continue the formula till you done with your conditions, however excel 2003 can only nest 7 level and Excel 2007 has no limits
If one function is inside another, then the functions are nested.