Excel date formula practice: EOMONTH, NETWORKDAYS and more
Excel stores dates as numbers, which is why you can subtract them. Practice working out shipping times, due dates, working days and monthly totals from a real shipping log.
Try it yourself
A live spreadsheet. Type a formula and press Enter to check it.
How many days did order SO-1002 take to ship?
Write your formula in the green cell, G2.
Click a cell to add it to your formula, drag to select a range, or click a column letter for the whole column.
All 11 dates & times exercises
- 1→
Days to ship
FreeHow many days did order SO-1002 take to ship?
- 2→
Which month?
FreeWhich month number was order SO-1004 placed in?
- 3→
Day of the week
PremiumOn what day of the week was order SO-1004 placed? Return the day's name, like Friday.
- 4→
Invoice due date
PremiumInvoices are due on the last day of the month after the order. When is SO-1001 due?
- 5→
Add months
PremiumOrder SO-1002 has a 3-month warranty that starts on its ship date. When does it end?
- 6→
Working days
PremiumHow many working days (Monday to Friday) did SO-1005 take, counting both the order and ship dates?
- 7→
Calculate inside MAX
PremiumWhat was the longest shipping time of any order, in days? Use one formula.
- 8→
Total for one month
PremiumWhat was the total amount ordered in February 2026?
- 9→
Count dates in a month
PremiumHow many orders shipped in January 2026?
- 10→
Whole months between dates
PremiumHow many whole months passed between the order dates of SO-1001 and SO-1007?
- 11→
Which quarter?
PremiumWhich quarter did order SO-1007 ship in? Return it like "Q1".
The dates & times functions, with examples
Every example runs on shipping-log.xlsx, the same sheet the exercises use, and the results are calculated from that data.
MONTH
Returns the month of a date as a number from 1 to 12. YEAR and DAY work the same way.
MONTH(serial_number)Example
=MONTH(B2)returns1EOMONTH
Returns the last day of a month, a number of months before or after a date. 0 means the same month.
EOMONTH(start_date, months)Example
=EOMONTH(B2, 0)returnsJan 31, 2026NETWORKDAYS
Counts working days, Monday to Friday, between two dates, counting both the start and the end. You can add a list of holidays to skip.
NETWORKDAYS(start_date, end_date, [holidays])Example
=NETWORKDAYS(B3, C3)returns7DATE
Builds a date from a year, month and day. It handles overflow, so month 13 rolls into January of the next year.
DATE(year, month, day)Example
=DATE(YEAR(B2), MONTH(B2) + 1, 1)returnsFeb 1, 2026
Common mistakes
- 1
Being surprised by a date that should be a number
Excel stores dates as a count of days, so
=C2-B2gives the days between two dates. If the result shows up as a date like 1/3/1900, the cell just took a date format: change it to Number. - 2
Working with text that only looks like a date
Imported dates often arrive as text, sitting on the left of the cell. They sort alphabetically, MAX and MIN skip them, and date conditions in SUMIFS don't match them. Convert them with DATEVALUE or Data → Text to Columns.
- 3
Counting weekends in a deadline
=C2-B2counts every calendar day. For business days use NETWORKDAYS, or WORKDAY to add working days to a date. Remember that NETWORKDAYS includes both the start and end dates.