DAYS
Calculate elapsed calendar days by subtracting a start date from an end date.
Syntax
=DAYS(end_date, start_date)Worked example
Measure elapsed calendar days from March 2 to March 9.
=DAYS(DATE(2026,3,9),DATE(2026,3,2))Result 7
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceThe Excel DAYS Function is INCREDIBLE (Easy Tutorial)
Practice DAYS
Measure elapsed calendar days from March 2 to March 9.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=DAYS(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
