=IFS(condition1, value1, [condition2, value2], ...)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single IFS formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
condition1:
The first condition that you want to evaluate. If this condition is TRUE, the corresponding value1 will be returned.
value1:
The value that will be returned if condition1 is TRUE. This can be a number, text, logical value, or a formula.
condition2:
The second condition that you want to evaluate. If this condition is TRUE, the corresponding value2 will be returned. This parameter is optional and can be repeated for additional conditions.
value2:
The value that will be returned if condition2 is TRUE. This can be a number, text, logical value, or a formula. This parameter is optional and can be repeated for additional values.
...:
Additional pairs of conditions and values can be added in the same format as condition3, value3, condition4, value4, and so on, allowing for multiple conditions to be evaluated.
The IFS function in Excel is a powerful tool that allows you to evaluate multiple conditions and return a value corresponding to the first TRUE condition. It simplifies the process of writing nested IF statements by allowing you to specify multiple conditions in a single formula.
In simpler terms, the IFS function helps you make decisions based on several criteria, making it easier to analyze complex data.
Imagine you are managing a student grading system, and you have the following data in an Excel spreadsheet:
| Student | Score |
|---|---|
| Alice | 85 |
| Bob | 70 |
| Charlie | 95 |
| David | 60 |
| Eve | 80 |
You want to assign letter grades based on the scores using the following criteria:
To assign letter grades based on the scores, you would use the IFS formula as follows:
=IFS(B2>=90, "A", B2>=80, "B", B2>=70, "C", B2>=60, "D", B2<60, "F")When you apply the formula to each student's score, you would get the following letter grades:
| Student | Score | Grade |
|---|---|---|
| Alice | 85 | B |
| Bob | 70 | C |
| Charlie | 95 | A |
| David | 60 | D |
| Eve | 80 | B |
The IFS function is particularly useful when you need to evaluate multiple conditions without the complexity of nested IF statements. It allows you to create clear and concise formulas that are easier to read and maintain.
Understanding how to use the IFS function can significantly enhance your data analysis capabilities in Excel, enabling you to make informed decisions based on complex criteria.
Happy calculating!
You have a table where Column A contains student names and Column B contains their corresponding exam scores. You can use the IFS function to assign letter grades based on the scores, such as "A" for scores 90 and above, "B" for scores between 80 and 89, "C" for scores between 70 and 79, "D" for scores between 60 and 69, and "F" for scores below 60. This allows for a clear and efficient grading system that helps educators quickly assess student performance and identify those who may need additional support.
Beyond the IFS function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.