The Complete Excel Course with AI Integration
Excel date functions for accountants
Accounting runs on dates: the cut-off, the due date, the days an invoice has been outstanding, the working days left before the close. Typed by hand, each is a mistake in waiting; as formulas, they keep themselves current. The Complete Excel Course with AI Integration teaches the date functions on industry-standard projects, and this page picks out those lessons: TODAY and NOW, date arithmetic, MONTH, EOMONTH and NETWORKDAYS, period labels with DATE and TEXT, and totals by period with SUMIFS and PivotTables.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Find the last day of any month with EOMONTH, and use it as the cut-off a period's entries are tested against.
- Count the working days between two dates with NETWORKDAYS, for a payment run, a reporting deadline or a close calendar.
- Age an invoice or an open item by subtracting its date from TODAY, and show days overdue only where an item is past due, with IF.
- Add days to a date for a due date or a follow-up date, and stamp a working report with TODAY or NOW so it always shows when it was last calculated.
- Pull the month out of a date with MONTH, and show it as a short or a full month name with a custom format.
- Build a real date and a period label from a year and month held inside a code, with DATE and TEXT.
- Total or count the entries that fall inside a period with SUMIFS and COUNTIFS on a date column, and group a PivotTable by year, quarter and month.
- Recognise a date that Excel is reading as text, by the way it sorts and calculates, and put it right before a schedule depends on it.
Projects
What you will build.
The course has 14 industry-standard projects. These five matter most here.
-
Project 05
SalesPlusPerformance
A sales question answered in seconds, straight from the order data.
Order dates dropped into a PivotTable are grouped for you into years, quarters and months, and removing a level switches the summary between quarterly, monthly and daily: period analysis with no date formula at all.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Its date sheet is a small deadline schedule: days until due from TODAY, the end of each deadline's month from EOMONTH and the working days between start and deadline from NETWORKDAYS, the three results a payment or reporting timetable needs.
-
Project 07
TaskFlow
One sheet that shows what is done, what is late and what is urgent.
Built for tasks, and a close calendar in all but name: working days planned for each item, then working days left and days past due that TODAY moves on each morning, the last appearing only once a deadline has gone, beside a timeline drawn from the start dates.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
Dates behind a finance report: the year and month inside each line's key become a real date with DATE and a period label with TEXT, so budget and actual line up by period without a date being typed.
-
Project 03
Sales Goal Tracker
Where date formulas begin: on a table of dated sales you count the days since each sale with TODAY, read the month with MONTH, add days for a follow-up date, stamp the sheet with NOW and count the entries of one month with COUNTIFS.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 11 of them, 1 h 3 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 39 Date and time functions in Excel
Start at Lesson 39 if you already write formulas such as SUM and IF: the date functions begin there on a table of dated sales, and Lesson 74 and Lesson 85 follow with month ends and working days. New to Excel? Begin at Lesson 1; date formats arrive early, in Lesson 6. If TODAY and EOMONTH are already familiar, go to Lesson 117 for DATE and TEXT inside a finance model, then to Lesson 159 for dates in Power Query.
11 of 186 lessons · 1 h 3 min
01 Microsoft Excel fundamentals: building a foundation from scratch How Excel shows a date: the date formats in Format Cells and the short date, and what a row of hashes means when a date column is too narrow. A date is a number wearing a format, and this is where the format is first set.
- 6 Number formatting in Excel Currency, date and percentage formats for a budget 5 min
03 Managing data in Excel: sort, filter and tables (Dunder Michael Paper employee database) Dates in a listing: a date column checked to hold real dates, then sorted oldest to newest. The lesson gives the warning sign every accountant should know: a date column that sorts strangely is probably holding text, and must be formatted as dates before anything is built on it.
- 20 Sorting data in Excel Single and multi-level sort on an employee database 6 min
04 Essential formulas and functions (IF, SUMIF and more) Totals by period and the first date functions, on a table of dated sales: COUNTIFS with two conditions on the date column counts one month's entries, Insert Function finds a function by its purpose, then TODAY gives the days since each sale, MONTH reads the month, a custom format shows it as a name, a date plus ten days gives a follow-up date, NOW stamps the sheet and IF flags the sales of one month.
- 37 SUMIFS and COUNTIFS in Excel Sum and count with multiple criteria 7 min
- 38 The Excel function library Insert Function dialog and Formula AutoComplete 5 min
- 39 Start here Date and time functions in Excel TODAY, NOW, MONTH and date arithmetic 6 min
07 PivotTables and PivotCharts: data analysis made easy Period analysis without a formula: an order date dropped into a PivotTable is grouped by Excel into years, quarters and months, and removing a level changes the view from quarterly to monthly to daily. The lesson uses sales orders; posting dates in a ledger group the same way.
- 61 PivotTable summaries in Excel Sales by product category and grouping by date 4 min
08 Advanced Excel functions: lookups, text and arrays The month-end functions, on a sheet of tasks with start dates and deadlines: the deadline minus TODAY for days until due, EOMONTH for the last day of the deadline's month, and NETWORKDAYS for the working days between start and deadline. A custom date format shows the dates in the pattern your reports use.
- 74 TODAY, EOMONTH and NETWORKDAYS in Excel Date calculations for HR data 5 min
09 Project: task automation with data validation and forms Dates as a picture: start dates and working days planned become a Gantt chart timeline, which works because every date is a number underneath. A close calendar or an audit timetable can be laid out the same way.
- 83 Gantt chart in Excel Build a project timeline with conditional formatting 6 min
09 Project: task automation with data validation and forms Deadline arithmetic in TaskFlow: NETWORKDAYS counts the working days planned for each task, NETWORKDAYS with TODAY the working days left, and IF shows the days past due only once a deadline has gone. Every figure moves on by itself each day the file is opened.
- 85 NETWORKDAYS and TODAY in Excel Days remaining and task deadlines in TaskFlow 5 min
12 Project: FinanceGuard budget variance analyser (budget vs actual Excel dashboard) Dates inside a finance model: each line's key holds its year and month, LEFT and MID lift them out, DATE makes a real date of them and TEXT prints it as a period label, all held together by LET. LET and the dynamic array functions around it need a modern Excel.
- 117 Budget vs actual model in Excel SORT, UNIQUE, VSTACK, LET, TEXTSPLIT, SUMIFS 8 min
15 SalesFusion: advanced data tools and a Power Query modelling system Dates in an export that returns every month: Power Query clears placeholders and impossible dates, sets the column to a true date type and adds year, month name, month number, month start and year-month columns that are rebuilt at every refresh. The lesson belongs to the Power Query lessons that begin at Lesson 153.
- 159 Date columns in Power Query Add year, month and year-month fields for reports 7 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
What are the Excel date functions an accountant cannot work without?
TODAY, EOMONTH and NETWORKDAYS, with plain date arithmetic and MONTH beside them. Between them they produce what accounting dates are for: the cut-off, the due date, the age of an open item and the working days left. The Complete Excel Course with AI Integration from Coding Liquids teaches each on industry-standard projects, every one designed after talking with people from many different industries: days since a sale and follow-up dates on a table of dated sales, month ends and working days on a deadline sheet, and days past due in TaskFlow, a tracker you build yourself. DATE and TEXT then turn a year and month into a period label inside the FinanceGuard model. This page picks out the 11 lessons that teach them, 1 hour 3 minutes in all, with SUMIFS, PivotTables and Power Query for the reporting by period that follows.
Can EOMONTH give me the cut-off date for any period?
Yes: EOMONTH returns the last day of a month, whichever day you start from. In The Complete Excel Course with AI Integration, Lesson 74 points it at a deadline and gets back the final day of that deadline's month, and the lesson's own summary is the reason accountants prize it: consistent month-end boundaries, with no one remembering which months are short. The result first appears as a bare serial number, and the lesson shows how a custom format makes it readable, the step that catches newcomers out. With the cut-off in a cell, the rest of this page works against it: COUNTIFS counts the entries dated inside the period (Lesson 37), a subtraction ages each open item to the period end, and an accrual or prepayment schedule gets a true month end at the head of every column.
How many working days are left before the board pack is due: can a formula keep count?
Yes, with NETWORKDAYS, which counts the working days between two dates. The Complete Excel Course with AI Integration uses it twice. In Lesson 74 it counts the working days from a task's start date to its deadline. In TaskFlow, Lesson 85 builds the columns a timetable needs: working days planned for each task, working days left, measured from TODAY to the due date and held at zero once the date has passed, and days past due, which appear only when a deadline has gone. Because TODAY moves on every morning, the countdown is always current without anyone touching it. Put your own deadlines in the date columns, the filing date, the board pack, the audit fieldwork, and the same formulas tell the team how many working days each one has left.
Can I build an aged debtors or creditors listing with these functions?
Yes: ageing is a date subtracted from today's date, and the course teaches every part of it. Lesson 39 of The Complete Excel Course with AI Integration subtracts a sale's date from TODAY to get the days since it, and shows the format fix when the answer appears as a date. Lesson 85 adds the refinement an aged listing needs: IF shows the days past due only for items whose due date has gone and leaves the rest blank. Banding follows from lessons earlier in the course: IFS sorts a number into bands in order (Lesson 32), and SUMIFS totals the amounts in each band (Lesson 37). The lessons age sales and tasks; point the same four formulas at invoice dates and you have the current, overdue and long-overdue columns of an aged debtors or creditors report, recalculated every day.
How do accountants measure days outstanding without the old DATEDIF function?
By subtraction: Excel holds every date as a number, so one date minus another is the number of days between them. The Complete Excel Course with AI Integration teaches that idea in Lesson 39, where TODAY minus a sale's date gives the days since the sale, and repeats it in Lesson 74, where a deadline minus TODAY gives the days until it falls due. When working days are wanted instead of calendar days, NETWORKDAYS takes the same two dates (Lesson 85). DATEDIF has no lesson in the course, and for the day counts accounting work asks for, days outstanding, days to maturity, days in a period, none is needed: a subtraction is shorter, easier for a reviewer to read, and behaves the same in every workbook. The one habit to learn with it is the format: a count of days must be shown as a number.
My EOMONTH result came out as a five-digit number: what went wrong?
Nothing went wrong with the formula: the cell is showing the number behind the date, and a format puts it right. A date is a number underneath, so Excel sometimes shows a date undressed as a number, or a count of days dressed up as a date. The Complete Excel Course with AI Integration meets both cases. In Lesson 74 an EOMONTH result arrives as a bare number until a custom format is applied, and the same lesson sets the sheet's dates to a day, month, year pattern through Custom in More Number Formats. In Lesson 39 a TODAY subtraction first appears as a date and is switched to Number to show the day count. Lesson 6 is where the built-in date formats are taught. A format changes only how a date is displayed, never the date itself, so every calculation on it stays exactly as it was.
What should I check before I trust a date calculation on a system export?
That every date in the column is a real date, because a date held as text looks right and calculates wrong. The Complete Excel Course with AI Integration gives you three tests. Sort the column: Lesson 20 checks a date column before sorting it oldest to newest, and warns that a strange order means text. Calculate on it: in Lesson 74 the lesson's own sheet throws an error on one row, traces it to the dates and repairs them, with the advice that an odd result usually means a date being read as text. And for an export that arrives every month, let Power Query do the checking: Lesson 159 clears placeholders and impossible dates and sets the column to a true date type, so every later refresh hands the date functions something they can work on.
Can a formula tag every transaction with its month, so I can report by period?
Yes, in three ways, each suited to a different report. On the worksheet, MONTH returns the month of a date as a number, and a custom format shows a date as a short or full month name; Lesson 39 of The Complete Excel Course with AI Integration teaches both, then uses IF with MONTH to flag every sale of one month. Inside a model, DATE and TEXT build a period label from a year and month held in a code (Lesson 117). And in a query, Power Query adds year, month name, month number, month start and year-month columns to every row of an export, rebuilt at each refresh (Lesson 159); the month number is there so that months sort in calendar order and not alphabetically. Tagged this way, a ledger can be totalled, filtered or pivoted by period without anyone reading a date.
What is the quickest way to get one period's total out of a year of ledger lines?
A PivotTable when you want every period at once, a SUMIFS when you want one figure in a cell, and the course teaches both. For the PivotTable, Lesson 61 of The Complete Excel Course with AI Integration drops a date into the rows and Excel groups it into years, quarters and months by itself, with levels removed to move between quarterly, monthly and daily views. For the formula, Lesson 37 puts two conditions on one date column, a start and an end, and COUNTIFS returns the entries that fall between them; SUMIFS takes the same pair and adds the amounts. Even the lesson's zero is instructive: no entries in a month is an answer, not an error. MarketPulse later adds a Timeline that filters a whole dashboard by period at a click (Lesson 111).
Does the course handle a financial year that does not match the calendar year?
Yes, in the place where it does most good: the query that feeds your reports. In the Power Query lessons of The Complete Excel Course with AI Integration, Lesson 159 gives every row of an export its year, month and year-month, and Lesson 167 builds fiscal year columns in the query that combines a folder of period files, which means the financial year travels with every transaction from the moment it is loaded. From then on a PivotTable or a SUMIFS reports by fiscal year without a formula on the sheet, and next month's export is labelled at the refresh. On the worksheet, the building block is in Lesson 39: MONTH inside IF tests which month a date falls in, the same test that decides which side of a year start a transaction sits. Both of those Power Query lessons belong to SalesFusion, which begins at Lesson 153.
Every list of accounting formulas names different date functions: which few are worth learning first?
The few that carry the load, and The Complete Excel Course with AI Integration teaches them. TODAY and NOW for the current date and time, subtraction and addition for the days between dates and for a date a set number of days ahead, MONTH for the period, EOMONTH for the month end and NETWORKDAYS for working days (Lesson 39, Lesson 74 and Lesson 85), with DATE and TEXT for building a date and a label (Lesson 117). EDATE, WORKDAY and YEARFRAC have no lesson of their own. What the course gives you for those is the method: Lesson 38 teaches Insert Function, searched by what you want to do, and the Function Arguments window that builds any function one argument at a time. Having set up EOMONTH and NETWORKDAYS by hand, you will have a new date function working within minutes.
An aged listing must agree to the balance sheet date: should it use TODAY at all?
Use the period end for the version that supports the accounts, and keep TODAY for the working copy you look at every day. TODAY and NOW are live, and The Complete Excel Course with AI Integration says so plainly: in Lesson 39 the day count changes from one day to the next and NOW is called a live as-of stamp for a working report, and Lesson 85 notes that TaskFlow's results depend on the day the file is opened. That is what a daily tracker wants. A schedule that supports the accounts wants the opposite, so put the period end in a cell, with EOMONTH if you like (Lesson 74), and subtract from that cell. The arithmetic is identical and the answer no longer moves. To freeze a finished calculation altogether, paste it back as values, the Paste Special step taught in Lesson 22.
Can I trust Copilot with dates and periods?
Trust it to draft, and check the period yourself: the course gives you a checklist with a line for exactly that. In The Complete Excel Course with AI Integration, the prompt pattern of Lesson 91 makes the time frame one of the three things every request must state, beside the metric and the breakdown, because a prompt without a period gets a vague answer. Copilot and ChatGPT then write formula columns that you verify before use (Lesson 95). And the QA checklist of Lesson 99 asks whether the time frame lines up across everything the AI built, with a warning an accountant will recognise: a figure that quietly mixes two quarters looks perfectly plausible until someone senior reads it. Knowing how TODAY, EOMONTH and a date condition behave is what lets you see that the period in an AI answer is the one you asked for.
How much time should I set aside for the date lessons, and will they run on the Excel I have?
About 1 hour 3 minutes for the 11 lessons picked out here, and Windows is not needed for any of them. The date functions themselves, TODAY, NOW, MONTH, EOMONTH and NETWORKDAYS, sit in the middle of The Complete Excel Course with AI Integration and ask only that you can write a formula and fill it down; if that is new, the course starts at Lesson 1 and builds up to them. The one lesson here that needs a modern Excel is Lesson 117, where LET holds the period label together, and the course points such functions out when they appear. The lessons come with the workbooks they are taught on, so every formula can be checked against a working one. With lifetime access they stay yours to return to at the next year end, when the date work is at its heaviest.
Excel with AI
See the whole course.
The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Excel formulas for accountants
- Lookups for accountants
- PivotTables for accountants
- Charts for accountants
- Dashboards for accountants
- Conditional formatting for accountants
- Data cleaning for accountants
- Data validation for accountants
- Excel tables for accountants
- Text functions for accountants
- Dynamic arrays for accountants
- Power Query for accountants
- Power Pivot and DAX for accountants
- Macros and VBA for accountants
- Power Automate for accountants
- Copilot for accountants
- ChatGPT for accountants
- Claude in Excel for accountants
Date functions for other jobs
- Date functions for bookkeepers
- Date functions for FP&A analysts
- Date functions for auditors
- Date functions for banking professionals
- Date functions in management accounting
- Date functions for financial controllers
- Date functions for credit controllers
- Date functions for AP clerks
- Date functions for every job