Exercise: Track Unpaid Invoices with IF

Reading time: 2 minutes

Following unpaid invoices is a daily task in many companies. It is also a perfect way to learn logic in Excel: first a simple test that returns TRUE or FALSE, then IF, then nested IF, and finally IFS.

The following exercise shows you how to go step by step from a test to IFS.

What you will practice in this exercise

You work on a list of invoices with the amount invoiced and the amount paid. You answer 10 questions, one formula per question:

  • Is the invoice unpaid? (logical test)
  • Copy the test down
  • Amount paid equal to the amount invoiced? (test =)
  • Copy the test down
  • “KO” if unpaid (IF)
  • Copy the IF down
  • KO, difference or empty (nested IF)
  • Copy the nested IF down
  • The same result with IFS
  • Copy the IFS down

Practice with exercises

unpaid invoices quiz19

IF Function Exercise - Spot unpaid or underpaid invoices

Flag unpaid invoices and calculate the balance due using logical tests, a nested IF and the IFS function — 10 guided steps, write each formula then fill it down.

Write the formula in cell D2

1 / 10

In D2, write a logical test that checks whether the invoice is unpaid (the amount paid is empty).

Unpaid — Q1 · 190

2 / 10

Fill down the test (column D)

Unpaid — Q2 · 191

Write the formula in cell E2

3 / 10

In E2, write a logical test that checks whether the amount paid matches the amount of the invoice.

Unpaid — Q3 · 192

4 / 10

Fill down the test (column E)

Unpaid — Q4 · 193

Write the formula in cell F2

5 / 10

In F2, write an IF function that displays "KO" when the invoice has not been paid, and stays empty otherwise.

Unpaid — Q5 · 194

6 / 10

Fill down the IF (column F)

Unpaid — Q6 · 195

Write the formula in cell G2

7 / 10

In G2, write nested IFs: if the invoice has not been paid, display "KO"; otherwise, if the invoice amount differs from the amount paid, display the difference; otherwise display nothing.

Unpaid — Q7 · 196

8 / 10

Fill down the nested IFs (column G)

Unpaid — Q8 · 197

Write the formula in cell H2

9 / 10

In H2, write the same test with the IFS function (first whether the invoice is unpaid, then whether the invoice amount matches the amount paid).

Unpaid — Q9 · 198

10 / 10

Fill down IFS (column H)

Unpaid — Q10 · 199

Your score is

0%

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

Exercise: Track Unpaid Invoices with IF

Reading time: 2 minutes

Following unpaid invoices is a daily task in many companies. It is also a perfect way to learn logic in Excel: first a simple test that returns TRUE or FALSE, then IF, then nested IF, and finally IFS.

The following exercise shows you how to go step by step from a test to IFS.

What you will practice in this exercise

You work on a list of invoices with the amount invoiced and the amount paid. You answer 10 questions, one formula per question:

  • Is the invoice unpaid? (logical test)
  • Copy the test down
  • Amount paid equal to the amount invoiced? (test =)
  • Copy the test down
  • “KO” if unpaid (IF)
  • Copy the IF down
  • KO, difference or empty (nested IF)
  • Copy the nested IF down
  • The same result with IFS
  • Copy the IFS down

Practice with exercises

unpaid invoices quiz19

IF Function Exercise - Spot unpaid or underpaid invoices

Flag unpaid invoices and calculate the balance due using logical tests, a nested IF and the IFS function — 10 guided steps, write each formula then fill it down.

Write the formula in cell D2

1 / 10

In D2, write a logical test that checks whether the invoice is unpaid (the amount paid is empty).

Unpaid — Q1 · 190

2 / 10

Fill down the test (column D)

Unpaid — Q2 · 191

Write the formula in cell E2

3 / 10

In E2, write a logical test that checks whether the amount paid matches the amount of the invoice.

Unpaid — Q3 · 192

4 / 10

Fill down the test (column E)

Unpaid — Q4 · 193

Write the formula in cell F2

5 / 10

In F2, write an IF function that displays "KO" when the invoice has not been paid, and stays empty otherwise.

Unpaid — Q5 · 194

6 / 10

Fill down the IF (column F)

Unpaid — Q6 · 195

Write the formula in cell G2

7 / 10

In G2, write nested IFs: if the invoice has not been paid, display "KO"; otherwise, if the invoice amount differs from the amount paid, display the difference; otherwise display nothing.

Unpaid — Q7 · 196

8 / 10

Fill down the nested IFs (column G)

Unpaid — Q8 · 197

Write the formula in cell H2

9 / 10

In H2, write the same test with the IFS function (first whether the invoice is unpaid, then whether the invoice amount matches the amount paid).

Unpaid — Q9 · 198

10 / 10

Fill down IFS (column H)

Unpaid — Q10 · 199

Your score is

0%

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *