All 10 Date Arithmetic and DAYS exercises
1
Days Between Two Dates
Free
A2 holds a start date and B2 an end date. Write a formula in C2 that returns the number of days between them.
| A | B | C |
|---|
| 1 | Start | End | Days |
|---|
| 2 | 2 Mar 2026 | 20 Mar 2026 | ? |
|---|
Show the solution
Subtract the earlier date from the later one. Use =B2-A2
Right — dates are numbers underneath, so subtracting them gives the days in between.
Expected result in C2: 18
Try it in the live spreadsheet →
2
Use DAYS Instead
Free
A2 holds a project's start date and B2 its end date. Write a formula in C2 that uses DAYS to return the number of days between them.
| A | B | C |
|---|
| 1 | Project start | Project end | Days |
|---|
| 2 | 15 Jan 2026 | 30 Apr 2026 | ? |
|---|
Show the solution
DAYS takes the end date first. Use =DAYS(B2,A2)
Good — DAYS takes the end date first, then the start date, and says what it does more clearly than a bare subtraction.
Expected result in C2: 105
Try it in the live spreadsheet →
3
Invoice Due Date
Free
A2 holds an invoice date and B2 the payment terms in days. Write a formula in C2 that returns the due date.
| A | B | C |
|---|
| 1 | Invoice date | Terms (days) | Due date |
|---|
| 2 | 15 Mar 2026 | 30 | ? |
|---|
Show the solution
Add the days to the date. Use =A2+B2
Right — adding a number of days to a date gives a new date.
Expected result in C2: 46126
Try it in the live spreadsheet →
4
Days Late
B2 holds an invoice's due date and C2 the date it was paid. Write a formula in D2 that returns how many days late the payment was.
| A | B | C | D |
|---|
| 1 | Invoice | Due date | Paid on | Days late |
|---|
| 2 | INV-311 | 14 Apr 2026 | 21 Apr 2026 | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
5
Days Late, or Zero
B2 holds a due date and C2 the paid date. This invoice was paid early, so the plain subtraction is negative. Write a formula in D2 that returns the days late, or 0 when it was paid on time.
| A | B | C | D |
|---|
| 1 | Invoice | Due date | Paid on | Days late |
|---|
| 2 | INV-312 | 14 Apr 2026 | 10 Apr 2026 | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
6
Late or On Time
B2 holds a due date and C2 the paid date. Write a formula in D2 that returns 'Late' if it was paid after the due date, otherwise 'On time'.
| A | B | C | D |
|---|
| 1 | Invoice | Due date | Paid on | Status |
|---|
| 2 | INV-313 | 14 Apr 2026 | 16 Apr 2026 | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
7
Two Weeks Earlier
A2 holds an event date. Write a formula in B2 that returns the date two weeks before it, when the reminder should go out.
| A | B |
|---|
| 1 | Event date | Send reminder |
|---|
| 2 | 12 Jun 2026 | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
8
Average Days to Pay
A2:A5 hold invoice dates and B2:B5 the dates they were paid. Without adding a helper column, write a formula in D2 that returns the average number of days customers took to pay.
| A | B | C | D |
|---|
| 1 | Invoiced | Paid | | Average days to pay |
|---|
| 2 | 1 Mar 2026 | 21 Mar 2026 | | ? |
|---|
| 3 | 5 Mar 2026 | 30 Mar 2026 | | |
|---|
| 4 | 10 Mar 2026 | 24 Mar 2026 | | |
|---|
| 5 | 12 Mar 2026 | 2 Apr 2026 | | |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
9
Days Left on a Contract
B2 holds the date a supplier contract ends and E2 the report date. Write a formula in C2 that returns how many days are left on the contract as of the report date.
| A | B | C | D | E |
|---|
| 1 | Supplier | Contract ends | Days left | | As of |
|---|
| 2 | Kopi Supplies | 30 Jun 2026 | ? | | 16 Mar 2026 |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →
10
Inside the 7-Day Target?
A2 holds the date a request came in and B2 the date it was completed. The target is 7 days. Write a formula in C2 that returns 'Within target' if it took 7 days or fewer, otherwise 'Missed'.
| A | B | C |
|---|
| 1 | Requested | Completed | Result |
|---|
| 2 | 2 Mar 2026 | 10 Mar 2026 | ? |
|---|
Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).
Try it in the live spreadsheet →