ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Dates
  3. Days Until a Deadline in Excel (Countdowns)

Days Until a Deadline in Excel (Countdowns)

By ExcelReady Team·Updated October 30, 2026·6 min read

The short answer

To count the days until a date in Excel, subtract today from it: =A2-TODAY(). The result updates every day and turns negative once the date has passed. Wrap it in IF to show "Overdue" or "Due today", and use =NETWORKDAYS(TODAY(),A2) to count only the working days left.

Key takeaways

  • =A2-TODAY() counts calendar days left; format the result as General, not as a date.
  • A negative result means the deadline has passed; IF turns it into Overdue, Due today or N days left.
  • =NETWORKDAYS(TODAY(),A2) counts working days left, including today.
  • Put TODAY() in one cell (or a fixed 'as of' date) and point every formula at it.
  • Conditional formatting can colour deadlines that are overdue or due within 7 days.
On this page+
  1. How to count the days until a date
  2. Build a deadline tracker step by step
  3. How to show Overdue, Due today or days left
  4. How to count working days until a deadline
  5. How to show months and days left
  6. Countdowns to month-end, year-end and quarter-end
  7. How to highlight deadlines that are due soon
  8. Common countdown mistakes
  9. Practise it

To count the days until a date in Excel, subtract today's date from it: =A2-TODAY(). Dates are numbers, so the difference is the number of days left, and TODAY() makes it update on its own every day. This guide is for anyone tracking task deadlines, contract expiries, renewals or exam dates, and it covers overdue labels, working days, and how to highlight what's due soon.

How to count the days until a date#

Subtract today from the deadline. The later date goes first.

Excel formula
=A2-TODAY()

Excel stores each date as a count of days, so subtracting two dates gives the days between them. TODAY() returns today's date and recalculates whenever the workbook opens, so the countdown drops by one each day. DAYS does the same job with the end date first: =DAYS(A2,TODAY()).

If the cell shows a date like 1/11/1900 instead of 11, Excel has given it a date format. Select it and choose General from the Number Format box on the Home tab (on Windows, Ctrl+Shift+~ also applies General).

Build a deadline tracker step by step#

Use one "as of" cell for today and point every formula at it. That keeps the sheet fast and lets you test any date:

ABCEF
1TaskDeadlineDays leftReport date11/3/2025
2Budget draft11/14/202511
3Vendor review11/3/20250
4Q4 forecast12/1/202528
5Policy update10/28/2025-6
  1. In F1, type =TODAY(). (This example uses a fixed date, November 3, 2025, so the numbers stay the same.)
  2. In C2, type =B2-$F$1. The dollar signs lock F1, so it doesn't shift when you fill down.
  3. Fill down with Ctrl+D (Windows) or ⌘D (Mac).

Zero means the deadline is today, and a negative number means it has passed: the policy update is 6 days late.

How to show Overdue, Due today or days left#

Wrap the countdown in IF to turn numbers into plain-English status labels:

Excel formula
=IF(B2<$F$1,"Overdue by "&$F$1-B2&" days",IF(B2=$F$1,"Due today",B2-$F$1&" days left"))
DeadlineResult
11/14/202511 days left
11/3/2025Due today
10/28/2025Overdue by 6 days

The first test catches past deadlines, the second catches today, and everything else is in the future. The order matters: IF stops at the first test that is TRUE, so check for overdue before you check for due today. Our IF function guide explains how nested tests run. If you only need a number that never goes below zero, use =MAX(0,B2-$F$1).

How to count working days until a deadline#

Use NETWORKDAYS to skip weekends:

Excel formula
=NETWORKDAYS($F$1,B2)

From Monday, November 3 to Friday, November 14, 2025, this returns 10: two full working weeks. NETWORKDAYS counts both the start and end dates, so today is included. If today shouldn't count, subtract 1.

Add your holiday list as the third argument to skip those days too: =NETWORKDAYS($F$1,B2,$H$2:$H$8). When the deadline has passed, NETWORKDAYS returns a negative number. Our guide to NETWORKDAYS and WORKDAY covers custom weekends and finding a deadline from a number of working days.

How to show months and days left#

For long countdowns, "2 months, 5 days" reads better than "66 days". DATEDIF counts whole months, and EDATE finds the date those months land on:

Excel formula
=DATEDIF($F$1,B2,"M")&" months, "&B2-EDATE($F$1,DATEDIF($F$1,B2,"M"))&" days"

DATEDIF returns #NUM! when the start date is after the end date, so use this only for future deadlines, or wrap it in an IF that checks B2>=$F$1 first. The DATEDIF function guide explains its units. To measure the gap between any two dates rather than counting down, see how to count days between dates.

Countdowns to month-end, year-end and quarter-end#

Combine TODAY() with the date you're counting to:

Days until…Formula
End of this month=EOMONTH(TODAY(),0)-TODAY()
End of this year=DATE(YEAR(TODAY()),12,31)-TODAY()
A date 90 days from a start date=(A2+90)-TODAY()

EOMONTH returns the last day of a month; our guide to the first and last day of the month shows more month-boundary formulas. To set a deadline in the first place, such as 30 days or 3 months after a start date, see adding days, months or years to a date.

How to highlight deadlines that are due soon#

Use conditional formatting so overdue and urgent rows stand out:

  1. Select A2:C5 (the rows of the tracker).
  2. Choose Home > Conditional Formatting > New Rule.
  3. Pick Use a formula to determine which cells to format.
  4. Enter =$C2<0 and set a red fill. Click OK.
  5. Add a second rule with =AND($C2>=0,$C2<=7) and an orange fill for deadlines in the next week.

The $ before C keeps every cell in the row looking at the Days left column. Overdue tasks turn red and tasks due within 7 days turn orange, and both update as TODAY() moves on.

Deadline trackers like this come up often in admin, project and HR roles. Our guide to Excel skills for HR jobs lists related date tasks, such as probation end dates and contract renewals.

Common countdown mistakes#

These are the problems you're most likely to see:

  • The result looks like a date. Change the format to General.
  • The dates are text. Subtraction returns #VALUE!. Re-enter the dates or convert them with DATEVALUE.
  • Times hidden in the dates. NOW() includes the time, so =A2-NOW() returns decimals. Use TODAY() for whole days.
  • TODAY() in hundreds of cells. It works, but one "as of" cell is easier to test and to freeze for a report.
  • Counting today twice. NETWORKDAYS includes both ends; plain subtraction doesn't. Pick one rule and use it consistently.

Practise it#

Try the countdown exercise on this page. Then practise date subtraction, DAYS, DATEDIF and TODAY() in the days between dates lesson, and count working days with holidays in the NETWORKDAYS and WORKDAY lesson.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The report date is in F1 (in a live file you'd use =TODAY() there). In C2, count the days from the report date to the deadline in B2: subtract $F$1 from B2.

fx
ABCDEFG
1
Task
Deadline
Days left
Report date
45964
2
Budget draft
45975
3
Vendor review
45964
4
Q4 forecast
45992
5
Policy update
45958
6
7
8

Tip: Later date minus earlier date: the deadline in B2 minus the locked report date $F$1.

Practise this in a lesson

LessonDays between dates: DAYS, DATEDIF and TODAYMeasure the gap between two dates in days, months and years, and calculate tenure as of today.LessonWorkdays: NETWORKDAYS and WORKDAYCount working days between two dates with NETWORKDAYS and find a deadline a number of working days away with WORKDAY, skipping weekends and a holiday list.Function guideDATEDIFCalculate tenure, age and contract length with DATEDIF. Learn every unit (Y, M, D, YM), the hidden-function quirks, and practice live.

Frequently asked questions

How do I count days until a date in Excel?

+

Use =A2-TODAY(), where A2 holds the deadline. Format the cell as General or Number so it shows a count instead of a date.

Why does my countdown show a date instead of a number?

+

Excel sometimes copies the date format into a formula that subtracts dates. Select the cell and choose General from the Number Format box on the Home tab.

How do I count working days until a deadline?

+

Use =NETWORKDAYS(TODAY(),A2). It skips Saturdays and Sundays, and you can add a holiday range as the third argument. It counts today too, so subtract 1 if today shouldn't count.

How do I show Overdue instead of a negative number?

+

Wrap the countdown in IF: =IF(A2<TODAY(),"Overdue",A2-TODAY()&" days left").

Will the countdown update by itself?

+

Yes. TODAY() recalculates whenever the workbook opens or recalculates, so the number of days left changes each day.

Sources

  • TODAY function - Microsoft Support
  • NETWORKDAYS function - Microsoft Support
  • DAYS function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to count the days until a date
  2. Build a deadline tracker step by step
  3. How to show Overdue, Due today or days left
  4. How to count working days until a deadline
  5. How to show months and days left
  6. Countdowns to month-end, year-end and quarter-end
  7. How to highlight deadlines that are due soon
  8. Common countdown mistakes
  9. Practise it

Keep reading

Dates· 7 min read

First and Last Day of the Month in Excel

For the first day of the month in Excel, use =EOMONTH(A2,-1)+1: the last day of the previous month plus one day. You can also write =DATE(YEAR(A2),MONTH(A2),1). For the last day of the month, use =EOMONTH(A2,0). Change the month number in EOMONTH to move to next month (1) or last month (-1).

Dates· 6 min read

Add Days, Months or Years to a Date in Excel

To add days to a date in Excel, just add the number: =A2+30. For working days, use =WORKDAY(A2,10). To add months, use =EDATE(A2,3), which handles months of different lengths. To add years, use =EDATE(A2,12*n), for example =EDATE(A2,24) for two years. Use negative numbers to go back in time.

Tests & careers· 5 min read

Excel Skills for HR and Recruiting Jobs

The most useful Excel skills for HR and recruiting are counting headcount with COUNTIFS, totalling payroll with SUMIFS, calculating tenure and time to hire with DATEDIF, TODAY and date subtraction, looking up employee records with XLOOKUP or VLOOKUP, flagging eligibility with IF and AND, and cleaning names and dates so reports stay accurate.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free