Table of Contents
An IF statement in Excel is a logical function that allows for conditional execution of formulas or actions based on specified criteria. To create an IF statement with four different outcomes, use the IF function along with the nested IF function. The IF function will check if a certain condition is met and return a specific value if true, while the nested IF function will allow for additional conditions to be checked. By nesting multiple IF functions within each other, you can create four different outcomes based on four different conditions. This allows for a more comprehensive and flexible decision-making process within your Excel spreadsheet.
Excel: Create IF Statement with Four Outcomes
You can use the following basic syntax to create an IF statement with four outcomes in Excel:
=IF(B2>30,"Outcome1",IF(B2>25,"Outcome2",IF(B2>20,"Outcome3","Outcome4")))
This particular function looks at cell B2 and returns the following value:
- “Outcome1” if cell B2 is greater than 30
- Else, “Outcome2” if cell B2 is greater than 25
- Else, “Outcome3” if cell B2 is greater than 20
- Else, “Outcome4“
The following example shows how to use this function in practice.
Example: IF Statement with Four Outcomes in Excel
Suppose we have the following dataset in Excel that shows the points scored by various basketball players:

Suppose we would like to classify each player as Great, Good, OK, or Bad depending on their number of points scored.
We’ll use the following IF() function to return one of these four different outcomes based on the value in the points column for each player:
=IF(B2>30,"Great",IF(B2>25,"Good",IF(B2>20,"OK","Bad")))
We’ll type this formula into cell C2 and then drag and fill it down to every remaining cell in column C:

Notice that this formula returns the following values in column C:
- “Great” if the value in the points column is greater than 30
- Else, “Good” if the value in the points column is greater than 25
- Else, “OK” if the value in the points column is greater than 20
- Else, “Bad“
Feel free to modify the criteria in the IF statement to produces the four outcomes you’d like.
Cite this article
stats writer (2024). How can I create an IF statement in Excel that has four different outcomes?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-create-an-if-statement-in-excel-that-has-four-different-outcomes/
stats writer. "How can I create an IF statement in Excel that has four different outcomes?." PSYCHOLOGICAL SCALES, 25 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-create-an-if-statement-in-excel-that-has-four-different-outcomes/.
stats writer. "How can I create an IF statement in Excel that has four different outcomes?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-create-an-if-statement-in-excel-that-has-four-different-outcomes/.
stats writer (2024) 'How can I create an IF statement in Excel that has four different outcomes?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-create-an-if-statement-in-excel-that-has-four-different-outcomes/.
[1] stats writer, "How can I create an IF statement in Excel that has four different outcomes?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I create an IF statement in Excel that has four different outcomes?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
