All 10 EDATE and EOMONTH exercises
1
Contract End After 12 Months
Free
A2 holds a contract start date. Write a formula in B2 that returns the date exactly 12 months later.
Show the solution
EDATE takes a date and a number of months. Use =EDATE(A2,12)
Right — EDATE moves a date by whole months, whatever their length.
Expected result in B2: 46461
Try it in the live spreadsheet →
2
Three Months Earlier
Free
A2 holds a review date. Notice must be given three months before it. Write a formula in B2 that returns the notice date.
| A | B |
|---|
| 1 | Review date | Notice date |
|---|
| 2 | 20 May 2026 | ? |
|---|
Show the solution
Give EDATE a negative number of months. Use =EDATE(A2,-3)
Good — a negative number of months moves the date backwards.
Expected result in B2: 46073
Try it in the live spreadsheet →
3
Month-End of a Date
Free
A2 holds an invoice date. Write a formula in B2 that returns the last day of that month.
| A | B |
|---|
| 1 | Invoice date | Month end |
|---|
| 2 | 10 Feb 2026 | ? |
|---|
Show the solution
EOMONTH with 0 months. Use =EOMONTH(A2,0)
Right — EOMONTH with 0 gives the last day of the same month, 28, 30 or 31 as needed.
Expected result in B2: 46081
Try it in the live spreadsheet →
4
Last Day of Next Month
Your terms are 'end of the following month'. A2 holds an invoice date. Write a formula in B2 that returns the due date.
| A | B |
|---|
| 1 | Invoice date | Due date |
|---|
| 2 | 15 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 →
5
First Day of Next Month
Benefits start on the first day of the month after someone joins. A2 holds the joining date. Write a formula in B2 that returns the benefits start date.
| A | B |
|---|
| 1 | Joined on | Benefits start |
|---|
| 2 | 15 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 →
6
First Day of This Month
A2 holds a date. Write a formula in B2 that returns the first day of the same month, using EOMONTH.
| A | B |
|---|
| 1 | Date | Month start |
|---|
| 2 | 23 Sep 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
Days in the Month
A2 holds a date. Write a formula in B2 that returns how many days that month has.
| A | B |
|---|
| 1 | Date | Days in month |
|---|
| 2 | 14 Feb 2028 | ? |
|---|
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
One Month After 31 January
A2 holds the first of a series of monthly payments, on 31 January. Write a formula in B2 that returns the date of the next payment one month later.
| A | B |
|---|
| 1 | First payment | Second payment |
|---|
| 2 | 31 Jan 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
30 Days After Month-End
A supplier's terms are '30 days after the end of the invoice month'. A2 holds the invoice date. Write a formula in B2 that returns the due date.
| A | B |
|---|
| 1 | Invoice date | Due date |
|---|
| 2 | 10 Feb 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
Probation End Date
Probation lasts six months and ends the day before the six-month anniversary. A2 holds the start date. Write a formula in B2 that returns the last day of probation.
| A | B |
|---|
| 1 | Start date | Probation ends |
|---|
| 2 | 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 →