Skip to content

Excel IF Function Practice

The IF function lets a formula make a choice. You give it a test, a result for when the test is true and a result for when it is not, and Excel decides for you. It is the building block behind bonus rules, free-shipping thresholds, pass marks and data checks.

These exercises take you from one comparison to rules that combine several conditions: AND when every condition must hold, OR when one is enough, IFS when there are several tiers, and ISNUMBER or ISBLANK when the question is whether a cell holds usable data. Every exercise also tests your formula on hidden data, so a formula that only works for today's numbers does not pass.

Start with the first exercise

What these functions are for

Tips before you start

Practice exercises, in a sensible order

  1. Beginner 5 min

    Has the Sales Target Been Met?

    Make a formula choose between two results depending on whether a condition is true, using a comparison and cell references.

  2. Beginner 8 min

    Free Shipping and Review Flags with AND and OR

    Test two conditions in one IF, and decide whether both must be true (AND) or at least one must be true (OR).

  3. Intermediate 10 min

    Volume Discount Tiers with IFS

    Choose between several results with IFS, order the tests correctly, and handle values that sit exactly on a boundary.

  4. Intermediate 10 min

    Flag Bad Data with ISBLANK and ISNUMBER

    Use ISBLANK and ISNUMBER inside nested IF functions to classify data, and count the rows that do not pass.