How to use the IFS function
The IFS function checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.
The IFS function is a better alternative to nested IF functions.
Formula in cell C3:
The formula in above picture calculates the grade based on the following score levels.
A+ score > 95
A score > 89.
B+ score > 84
B score > 79
C+ score > 74
C score > 69
D+ score > 64
D score > 59
F score > 60
Excel Function Syntax
IFS(logical_expression1, Value_if_True1, [logical_expression2, Value_if_True2],…)
The IFS function allows you to have up to 127 pairs of logical expressions and value if true.
Arguments
logical_expression1 | Required. The logical expression you want to use. |
Value_if_True1 | Required. The value to be displayed if logical expression is met. |
[logical_expression2, Value_if_True2] | Optional. Additional arguments. |
Comments
The IFS function is an Excel 2016 function, however, you can replicate the behavior with the following formula if you have an earlier version of Excel.
Formula in cell C3:
The formula above uses the table E3:F11 to match the correct grade with score.
Functions in 'Logical'
The IFS function function is one of many functions in the 'Logical' category.
The image above demonstrates the AND function with two logical expressions. If the value in column B is equal to […]
The FALSE function returns the logical (boolean) value FALSE. Excel Function Syntax FALSE() Arguments The FALSE function has no arguments. […]
Checks if a logical expression is met. Returns a specific value if TRUE and another specific value if FALSE.
How to use the IFERROR function
The IFERROR function lets you catch most errors in Excel formulas. It was introduced in Excel 2007. In previous Excel […]
The IFNA function handles #N/A errors only, it returns a specific value if the formula returns a #N/A error. Formula […]
The IFS function checks whether one or more conditions are met and returns a value that corresponds to the first […]
The NOT function returns the boolean opposite to the given argument. TRUE returns FALSE and FALSE returns TRUE. Formula in […]
The OR function allows you to carry out a logical test in each argument and if at least one argument returns […]
How to use the SWITCH function
The SWITCH function returns a given value determined by an expression and a list of values. If the expression matches […]
Returns the logical (boolean) value TRUE. Excel Function Syntax TRUE() Arguments The TRUE function has no arguments. Comments Excel interprets […]
The XOR function was introduced in Excel 2013 and calculates the logical exclusive OR meaning if at least one of the […]
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
Contact Oscar
You can contact me through this contact form