HOME
> Office programs
> Excel: What-If Function With Multiple Conditions
Excel: What-if function with multiple conditions
In Microsoft Excel, you have the ability to use formulas and functions to automate calculations and other things. When it comes to logical comparisons of different values, the IF function is indispensable. Learn how to combine multiple What-If statements and what to keep in mind.
Nesting the What-if function - here's how
What-if statements often form the basis of many spreadsheet models in Excel. Ideally, the function should be used with minimal conditions such as Yes/No/Maybe to avoid errors. However, if the function is used in more complex scenarios, you often cannot avoid combining three or more What-If functions.- The syntax of the normal What-If function looks like this: "=WENN(check;then_value;[else_value])"
- A nesting of multiple What-If functions might look like this: "=WENN(check;then_value;IF(check;then_value;else_value))"
- When combining multiple What-If statements, take special care that the parentheses are set correctly.
- If the concatenation of the formula causes problems, Excel will automatically offer a suggested solution in many cases.