Function Problems

Calculate Elapsed Days in Excel with DATEDIF and NOW

Jason MillerJason Miller Nov 18, 2026 870 views

Question details

Calculate the number of elapsed days between a start date and the current date in Excel.

Calculate Elapsed Days in Excel with DATEDIF and NOW
Product
Microsoft Excel
Device & OS
not provided
Scenario
A start date is stored in a worksheet cell, and the user wants a day count that updates with the current date.
Observed behavior
The formula should return the number of days from the start date to the current date.
Before you start

Enter a valid Excel date in C2 and make sure it is not later than the current date. Check that your device's date and time are correct.

Solution 1Recommended

Calculate elapsed days with DATEDIF and NOW

Use this formula to count days from the date in C2 to the current date and time.

1
Enter the start date

In Excel, enter the start date in cell C2.

2
Enter the formula

Select an empty cell, enter =DATEDIF(C2,NOW(),"d"), and press Enter.

3
Check the result

Read the elapsed day count in the formula cell. If it appears as a date, select the cell and choose Home > Number Format > General.

Calculate elapsed days with DATEDIF and NOW
Future start dates: DATEDIF returns a #NUM! error if the start date is later than the end date. Check the value in C2 if you see this error.
Calculate elapsed days in WPS

Calculate elapsed days in WPS Spreadsheet

Use DATEDIF with NOW or TODAY in WPS Spreadsheet to calculate elapsed days from a start date.

  1. 1. Open a spreadsheet: Open WPS Spreadsheet and create a workbook or open an existing Excel file.
  2. 2. Enter the start date: Select C2 and enter a valid start date.
  3. 3. Calculate elapsed days: Select an empty cell, enter =DATEDIF(C2,NOW(),"d"), and press Enter. Use TODAY() instead of NOW() for a date-only calculation.
  4. 4. Save the workbook: Select File > Save As and choose XLSX if you want to keep the workbook in an Excel-compatible format.
Calculate elapsed days with a DATEDIF formula.Open and edit Microsoft Excel XLSX and XLS files.Work in a familiar spreadsheet interface.Use WPS Office for free.
microsoft office alternative - wps office

Frequently Asked Questions

What does the "d" argument mean in DATEDIF?

The "d" argument tells DATEDIF to return the difference in days. For example, enter =DATEDIF(C2,NOW(),"d") in an empty cell.

Should I use NOW or TODAY for elapsed days?

NOW() returns the current date and time. Use TODAY() in =DATEDIF(C2,TODAY(),"d") when you want to use the current date without the time.

Why does my DATEDIF formula show #NUM!?

DATEDIF returns #NUM! when the start date is later than the end date. Check the date in C2 and your device's current date.

Why does the result look like a date instead of a number?

The result cell may be formatted as a date. Select it and choose Home > Number Format > General to display the day count.