How to Use Excel IFS Function?

Microsoft Excel is a spreadsheet program that helps to perform various mathematical operations. Even though you don’t know how to get a solution to risky problems, Excel provides simple solutions. Sometimes, we want to run multiple tests and get the result based on the first true result. For that, we suggest you use the Excel IFS function.

This tutorial will show you how to use the Excel IFS function in the worksheet. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

Syntax

• Here, you will see the syntax of the IFS function.
• To apply this function on your spreadsheet, you must select a cell and enter the formula in the following format.
• Once you enter the formula, click the button to get the result.

=IFS(test1, value1, [test2, value2], …)

Argument Description:

• test1 – It indicates the first logical test.
• value1 The result when test1 is TRUE.
• test2, value2 It is an optional one. Represents the second test.

Note:
1) The IFS function does not have a built-in default value to use when all conditions are FALSE.
2) All logical tests must return TRUE or FALSE. Any other result will cause IFS to return a #VALUE! error.
3) If the given logical test is FALSE, IFS will return the #N/A error.

What Will IFS Function Do?

IFS is one of the built-in functions in Microsoft Excel. This function can run multiple tests and return a value corresponding to the first TRUE result. We can use these functions whenever we want to run multiple conditions.

For instance, you conduct a game for your employees in the organization in order to cheer them up. And you want to assign three color cards based on the age categories. The persons who are under the age of 30, for them, you need to give red cards. And persons who are less than 40, need to give blue cards and who have less than 50, come under the yellow team.

Now, we have to enter the below-mentioned formula to get the corresponding results based on age.

=IFS(C3<30,”red”,C3<40,”blue”,C3<50,”yellow”)

Now, click on the Enter button to execute it and get the result. To fill the remaining cells in the range, you have to drag down the first cell to the last cell in the range. It will quickly autofill the results based on the given input values.

Alternate Examples

Let’s see examples to understand how to use the IFS Function.

• Initially, you must open your Excel workbook on your PC and launch the worksheet with data.
• For instance, we have given the input values in the range B3:C9, and we will get the output.
• Then, you must enter the formula in the cell below to get the result.
• After entering the formula, you need to click the  button to get the output.
• Once you get the output for the first cell, then you need to drag down the cell to fill in the remaining values.

Input that Causes Error

• If the given logical test is FALSE, IFS will return the #N/A error.

Citations

Whenever we want to check multiple conditions for a specific input value in the worksheet, we can use this IFS function. We have understood the purpose of the IFS function with the help of the sites: Purpose of IFS Function[1] and Excel IFS function[2].

Conclusion

From this tutorial, we have learned the clear-cut steps to use the Excel IFS function in the worksheet using its basic syntax. The provided examples let you understand this function as quickly as possible. To learn more about Excel functions, then visit our webpage, Aawexcel.com.

If you want to know what people think about this IFS Function of Excel, then we suggest you look for it on the Quora interaction webpage. From where you can get to know more regarding the Excel IFS function. Here, we have provided the link to Quora’s official websiteUse IFS Function.

Video Tutorial

The following video will show you how to use the Excel IFS function in the worksheet.