Practice: dates

Working with dates · About 6 minutes

Practice: dates

This is a mix. Each task needs a different date function, so read what it asks for first: a date some months away, a month end, whole years, or workdays.

Today is fixed as Friday, March 14, 2025. Use TODAY() for it, so the sheet stays right tomorrow.

Mixed practice feels harder than a single topic. That's what makes it stick.

Part of Plus

Free during our founding launch: sign in to unlock this lesson's exercises, the timed practice sets and the rest of Plus. The free lessons stay free, with no account needed.

What this practice covers

This practice mixes the date functions you have met, so each task asks you to pick the right one before you write it. The hard part is choosing, not typing.

Ask what the answer should be. A date some months away needs EDATE, the end of a month needs EOMONTH, a count of whole years needs DATEDIF, and a count of working days needs NETWORKDAYS.

The formulas you'll use

=EDATE(start_date, months)

months
How many months to move the start date, keeping its day of the month.

=EOMONTH(start_date, months)

months
How many months to move before taking the month's last day: 0 for the same month.

=DATEDIF(start_date, end_date, unit)

unit
What to count between the two dates, in quotes: "Y" for whole years, "M" for whole months, "D" for days.

=NETWORKDAYS(start_date, end_date, [holidays])

holidays
An optional range of dates to skip, on top of Saturdays and Sundays.

A worked example

A project starts on Monday, September 14, 2026. In B2, count the working days left in its first month, counting the start day.

A project starts on Monday, September 14, 2026. In B2, count the working days left in its first month, counting the start day.
AB
1StartWorkdays
209/14/202613
B2=NETWORKDAYS(A2,EOMONTH(A2,0))Find the last day of A2's month, Wednesday, September 30, 2026, then count Monday to Friday from A2 up to it: 13 working days.

Mistakes to watch for

A date shows as a five-digit number

In Excel, EDATE and EOMONTH can give a date as a plain number. Change the cell's format to Date.

Whole years come out one too high

Taking one year from another counts a year that hasn't finished. Use DATEDIF with "Y", the earlier date first.

The answer is right today but wrong tomorrow

A typed date stays fixed while time moves on. Where a task says "so far" or "today", use TODAY() in the formula.

Which date function?

Moving a date by months: EDATE. Landing on a month's last day: EOMONTH. Counting whole years or months: DATEDIF. Counting days: subtract one date from the other. Counting working days: NETWORKDAYS.

Functions can sit inside each other, as in the example, where EOMONTH finds the end date and NETWORKDAYS counts up to it. All of these work in Excel and Google Sheets.

Questions people ask

Which date function should I use?

Months away: EDATE. End of a month: EOMONTH. Whole years: DATEDIF. Workdays: NETWORKDAYS.

Why use TODAY() instead of typing the date?

A typed date is right for one day only. TODAY() keeps the sheet right tomorrow.

Why does mixed practice feel harder?

You have to choose the function as well as write it. That choice is what job tasks and tests ask for.