Excel Guide
Excel Date Functions: Due Dates, Month Ends and Working Days
Invoices, contracts, payroll and leave all run on dates. Once you know that Excel stores a date as a number, a handful of functions cover almost everything work throws at you.
Dates are numbers underneath
Excel counts days from the start of 1900, so 15 March 2026 is stored as 46096 and just displayed as a date. That's why you can subtract two dates to get the days between them, or add 30 to get a due date:
DATE builds a real date from separate parts, and YEAR, MONTH and DAY take one apart again:
EDATE and EOMONTH: whole months and month ends
Months have different lengths, so adding 30 days isn't "one month". EDATE moves a date by whole months, and EOMONTH jumps to the last day of a month:
EDATE also handles short months: one month after 31 January is 28 February, not 3 March.
WORKDAY and NETWORKDAYS: skipping weekends and holidays
For delivery dates and deadlines in working days, WORKDAY counts forward (or back) and skips Saturdays and Sundays. NETWORKDAYS counts the working days between two dates, including both. Both take an optional range of holiday dates:
WEEKDAY tells you the day of the week as a number. Give it a second argument of 2 and Monday is 1, so anything above 5 is a weekend:
DATEDIF: ages and length of service
DATEDIF counts complete years, months or days between two dates, which is how ages and tenure work. It doesn't appear in Excel's function list, but it works:
TODAY: formulas that stay current
TODAY returns today's date and updates every time the file recalculates, so countdowns and overdue flags never need editing:
Counting and totalling by month
To count or total the rows in one month, give COUNTIFS or SUMIFS a start and an end condition on the date column. Using "before the 1st of next month" catches every date, including the 31st:
Try it yourself
Practise these formulas on real spreadsheet tasks with instant feedback. The first 3 tasks in every module are free.
Start practising date functions →