Microsoft 365 and Office | Excel | For home | Windows
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What is the Formula to count days between two dates
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Answer accepted by question author
AI answer
Use one of these common formulas in Excel:
=EndDateCell - StartDateCell
Example:
=C2 - B2
This returns the number of days between the two dates.
=DAYS(EndDateCell, StartDateCell)
Example:
=DAYS(C2, B2)
This also returns the number of days between the two dates.
References: