Published On: April 7th, 2022|3.9 min read|

# How to use Excel IFS Function

Writing formulas in Excel help you reach the results quicker and easier. One function that can make it easy to evaluate multiple conditions is the IFS function. There is a slight difference between the IFS function and the IF statement in Excel. Here is the guide to using the Excel IFS function.

## What is the difference between IF and IFS Functions?

You may be familiar with the IF conditional statement, which can only check one statement. It means it can return TRUE or FALSE. For example, we can only check if a value is higher or lower than 50. However, Excel 2016 and later versions have the IFS  function that can make it easier to check several conditions.

Using the IFS Function, you can check several conditions in one formula and get different results. For example, it is possible to check grades to see if they’re above 80, between 80 and 60, between 60 and 50, and lower than 50. Excel will check to get the first “True” condition and show its corresponding result. Let’s see the example below:

=IFS(B4<50,”Bad”, B4<60, “OK”, B4<80, “Good”, B4>=80, “Great”) Figure 1- You can check the final grades of students and see if they are doing well on their tests. Figure 2- The result of the IFS function

If we wanted to get the same results using the IF statement, we would have to write an IF formula for each condition.

Please note that it is better to write the formulas from lower to higher. This helps you write the formula easily and makes the conditions look more practical and logical. Moreover, the IFS function can handle up to 127 arguments. Yet, it would be impractical to have that many conditions in one formula.

## How to use IFS Function?

Like all other Excel formulas, it’s easy to write a statement using the IFS function:

1. First, you need to have a table of values, which you want to check and return a message. In our example, we have a table of students and their grades.
2. In the next step, click on the cell where you want to write the formula. In our example, it’s C4.
3. You can either write the formula in the cell or the Formula bar. You only need to start with an “=” sign; then, Excel will show you the statements you can write.
4. Write IFS and open parenthesis after it.
5. Select the cell with the value you want to compare. In our example, it’s B4, which relates to the students’ grades.
6. Write the logical formula and dedicate a message for each one. So, if the logical test is TRUE, Excel will show that message on the cell.
7. Copy the formula to other cells and change the cell numbers.

* Please note that you should consider all the possible conditions because if the value on the cell doesn’t match any of the conditions, you’ll get an “#N/A” error. This error means the function didn’t find any True condition. In our example, the formula would return an “#N/A” error if we didn’t have the last statement (B4>=80) and we had 80 on our list.

Interested to know more about Excel formula errors and their meaning? Click on the link to find out.

## Using IFS with ELSE

You can also use IFS and ELSE Functions together. It will help you get a better result, especially if you are working with lots of conditions, which are mostly text. The ELSE function can prevent errors in the results because it will help the formula to return a special message if none of the statements are True.

In this case, the last logical test at the end of the formula doesn’t check any cells’ values. It means all the values will be checked, and if none of them are true, Excel would return the last logical test result. Here is the formula:

=IFS(B4<50,”Bad”, B4<60, “OK”, B4<80, “Good”, B4>80, “Great”,”Good Student”)

This formula will return “Good Student” if the value in B4 is equal to 80.

## Bottom Line

The IFS function is one of the most useful functions in Excel because it can check several conditions in one formula. If it is used with the ELSE function, it will be more efficient because there will be no more #N/A errors on the results. Therefore, it is necessary to learn more about this function to work on Excel forms easier.

#### Share now:  Subscribe

for exclusive offers and new posts.