Cellwise Try it free

Excel guide · 3 min read

Countdown in Excel: how many days until a date

Quick answerSubtract today from the target date: =B2-TODAY() returns the number of days left. Format the result as General or Number, not Date. For working days only, use =NETWORKDAYS(TODAY(),B2). For a fixed report, put the date in a cell instead of TODAY() so the numbers do not change.

Sample data

Every result on this page was calculated from this sheet by the same spreadsheet engine the Cellwise app uses.

ABCDE
1EventDateTodayNov 2, 2026
2Black Friday saleNov 27, 2026
3Christmas DayDec 25, 2026
4Q4 tax paymentJan 15, 2027
5Spring product launchMar 15, 2027
6Trade showOct 20, 2026

Download this sheet as an Excel practice file (.xlsx)

Days until a date

Dates are day counts, so the difference between two dates is the number of days between them. E1 holds today's date (November 2, 2026). The $ signs keep the reference fixed when you fill the formula down the list.

=B2-$E$1

Result: 25

25 days until the Black Friday sale on November 27.

The same with DAYS

DAYS(end, start) does the same subtraction and reads more clearly to someone else. Note the order: the later date goes first.

=DAYS(B3,$E$1)

Result: 53

53 days until Christmas Day.

Make it a live countdown with TODAY()

To have the sheet update by itself, use TODAY() instead of a fixed cell. It returns the current date every time the workbook recalculates, which includes every time you open it.

Keep the cell format General. Excel sometimes formats the result of a date subtraction as a date, which turns 25 into January 25, 1900.

  1. In C2 type =B2-TODAY() and press Enter.
  2. If it shows a date, choose Home > Number Format > General.
  3. Double-click the fill handle to copy it down the list.
  4. Optional: put =TODAY() in one cell (E1) and point every row at $E$1, so you can test the sheet with any date.

Working days until a deadline

Project deadlines usually care about working days. NETWORKDAYS counts Monday to Friday between two dates, including both ends. Add a holiday range as the third argument to skip public holidays as well.

=NETWORKDAYS($E$1,B4)

Result: 55

55 working days from November 2, 2026 to the January 15 tax payment, counting both days.

Weeks and days, or a "days to go" label

Large numbers of days are hard to picture. INT gives the whole weeks and MOD the days left over. For a dashboard tile, join the number to text instead: =B2-$E$1&" days to go".

=INT((B5-$E$1)/7)&" weeks, "&MOD(B5-$E$1,7)&" days"

Result: 19 weeks, 0 days

19 weeks, 0 days until the spring launch on March 15, 2027 (133 days).

Dates that have already passed

Once the date is behind you, the subtraction goes negative. Show a clear label instead. The trade show here was on October 20.

To count months instead of days, DATEDIF works: =DATEDIF($E$1,B5,"m") returns 4 full months to the launch. DATEDIF returns #NUM! if the start date is after the end date, so check the order.

=IF(B6<$E$1,"Passed "&($E$1-B6)&" days ago",B6-$E$1&" days to go")

Result: Passed 13 days ago

Passed 13 days ago: the trade show was on October 20.

Common mistakes

The countdown shows a date like 1/25/1900

Excel formatted the result as a date. Set the cell to General or Number and the 25 days appears.

Off by one day

B2-TODAY() counts the nights in between, so tomorrow is 1. If you want to count today as well (an "including today" countdown), add 1. NETWORKDAYS already counts both ends.

The number never changes

Either the formula uses a typed date instead of TODAY(), or calculation is set to manual. Check Formulas > Calculation Options > Automatic.

DAYS arguments reversed

DAYS(end, start) puts the later date first. =DAYS($E$1,B2) gives a negative countdown.

FAQ

How do I calculate days remaining in Excel?

Use =B2-TODAY(), where B2 is the deadline. Format the cell as General so it shows a number of days.

How do I count working days until a date?

Use =NETWORKDAYS(TODAY(),B2). It skips Saturdays and Sundays; add a holiday range as a third argument to skip public holidays.

How do I make a countdown that updates automatically?

Use TODAY() in the formula. It recalculates whenever the workbook opens or recalculates, so the count drops by one each day.

How do I show a negative countdown as "overdue"?

Wrap it in IF: =IF(B2<TODAY(),"Overdue",B2-TODAY()&" days left").

How do I highlight deadlines that are less than a week away?

Select the dates, choose Home > Conditional Formatting > New Rule > Use a formula, and enter =AND(B2>=TODAY(),B2-TODAY()<=7) with your first cell in place of B2. Pick a fill color and every deadline in the next seven days lights up.

Functions used

Related guides

Updated