Date FunctionsIntermediate

Set Probation Review Dates with EDATE

A probation period is measured in months, and months are not all the same length. EDATE moves a date on by whole calendar months and, when the target month is too short, stops on its last day instead of spilling into the next one.

Task:

You look after HR admin for a growing logistics firm. Each new starter's start date is in column B and the length of their probation, in months, is in column C. Their probation review falls on the same day of the month that many months after they started; if that month has no such day, it falls on the month's last day. In D2, work out the first starter's review date, then copy it down to D7. Then, in E2, work out how many days are left until that review, counting from today's date in G2, and copy that down to E7 too.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

7 rows × 7 columns12 cells you fill in
ABCDEFG
1EmployeeStart dateProbation (months)Review dateDays to goToday
2G. Oyelaran7/15/2026612/1/2026
3L. Barros6/30/20266
4D. Achterberg8/31/20266
5F. Mensah9/14/20263
6K. Ishikawa10/1/20266
7N. Delacroix11/30/20263
What this exercise teachesMay contain the answer

"Six months after you start" is a calendar rule, not a number of days, so any formula that turns months into days gets it slightly wrong. Using C2*30 puts G. Oyelaran's review on 1/11/2027, four days before six months are up, because July, August, October and December each have 31 days. Building the date by hand with DATE(YEAR(B4),MONTH(B4)+C4,DAY(B4)) keeps the day of the month, which is right most of the time, but it breaks at the end of a month: for D. Achterberg, who started on 8/31/2026, it asks for 31 February 2027, and DATE rolls the three missing days into March and returns 3/3/2027, a review after the probation has already ended. EDATE(B2,C2) moves the date on by C2 calendar months and keeps the day of the month where it can; when the target month is too short, it stops on that month's last day, so Achterberg's review is 2/28/2027. N. Delacroix, who started on 11/30/2026 with three months' probation, lands on 2/28/2027 for the same reason, so two people who started three months apart share a review day. EDATE does not round to the end of the month, though. L. Barros started on 6/30/2026 and is reviewed on 12/30/2026, not 12/31, because December has a 30th; rounding to month-end is what EOMONTH does, and it is not what this policy says. The days left work because a date is a day count underneath: D2-$G$2 subtracts today's date from the review date and leaves the number of days between them, 13 for F. Mensah, whose review is the next one due. The $ signs keep every row measuring from G2, so when today's date in G2 changes, every countdown moves with it.