Calculate Elapsed Days in Excel with DATEDIF and NOW
Question details
Calculate the number of elapsed days between a start date and the current date in Excel.

- 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.
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.
Calculate elapsed days with DATEDIF and NOW
Use this formula to count days from the date in C2 to the current date and time.
In Excel, enter the start date in cell C2.
Select an empty cell, enter =DATEDIF(C2,NOW(),"d"), and press Enter.
Read the elapsed day count in the formula cell. If it appears as a date, select the cell and choose Home > Number Format > General.

Use TODAY for a date-only calculation
Use TODAY instead of NOW when you want the current date without the current time.
Calculate elapsed days in WPS Spreadsheet
Use DATEDIF with NOW or TODAY in WPS Spreadsheet to calculate elapsed days from a start date.
- 1. Open a spreadsheet: Open WPS Spreadsheet and create a workbook or open an existing Excel file.
- 2. Enter the start date: Select C2 and enter a valid start date.
- 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. Save the workbook: Select File > Save As and choose XLSX if you want to keep the workbook in an Excel-compatible format.

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.




