IFS function

The IFS function checks whether one or more conditions are met, and returns a value that corresponds to the first TRUE condition. IFS can take the place of multiple nested IF statements, and is much easier to read with multiple conditions.

=IF(B2>70,”A”,IF(B2>60,”B”,IF(B2>40,”C”,IF(B2<41,”D”,TRUE))))

Simple syntax

Generally, the syntax for the IFS function is:

=IFS([Something is True1, Value if True1,Something is True2,Value if True2,Something is True3,Value if True3)
 


=IFS([Something is True1, Value if True1,Something is True2,Value if True2,Something is True3,Value if True3)
 

Please note that the IFS function allows you to test up to 127 different conditions. However, we don’t recommend nesting too many conditions with IF or IFS statements. This is because multiple conditions need to be entered in the correct order, and can be very difficult to build, test and update.

Example Download Excel Workbook

Tell your friends about this page