Practice

IFS practice exercises

Returns the value for the first test that is TRUE. Work through these on the table below, then check each answer.

Practise interactively Type formulas into a live sheet with instant feedback. Free.

ABCDEF
1OrderRegionRepUnitsPriceRevenue
22301NorthLena260120
32302WestLena41872
42303NorthRaj24590
52304WestMaya945405
62305SouthRaj730210
72306EastMaya11818
82307WestOmar41872
92308EastOmar21530
  1. Label order 2303: "Large" if Revenue is at least 100, "Medium" if at least 50, otherwise "Small".

    Show answer

    =IFS(F4>=100,"Large",F4>=50,"Medium",TRUE,"Small") → Medium

  2. Label order 2301: "Large" if Revenue is at least 100, "Medium" if at least 50, otherwise "Small".

    Show answer

    =IFS(F2>=100,"Large",F2>=50,"Medium",TRUE,"Small") → Large

  3. Label order 2302: "Large" if Revenue is at least 100, "Medium" if at least 50, otherwise "Small".

    Show answer

    =IFS(F3>=100,"Large",F3>=50,"Medium",TRUE,"Small") → Medium

  4. Label order 2304: "Large" if Revenue is at least 100, "Medium" if at least 50, otherwise "Small".

    Show answer

    =IFS(F5>=100,"Large",F5>=50,"Medium",TRUE,"Small") → Large

  5. Label order 2305: "Large" if Revenue is at least 100, "Medium" if at least 50, otherwise "Small".

    Show answer

    =IFS(F6>=100,"Large",F6>=50,"Medium",TRUE,"Small") → Large

  6. Label order 2306: "Large" if Revenue is at least 100, "Medium" if at least 50, otherwise "Small".

    Show answer

    =IFS(F7>=100,"Large",F7>=50,"Medium",TRUE,"Small") → Small

New to IFS? Read the IFS guide first: syntax, a worked example and common mistakes.