Calculate calendar days between dates

Turn November 4, 2026 to November 5, 2026 into 1 day.

What you'll make

In Excel: November 4, 2026 to November 5, 2026 becomes 1 day.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1B8The end date.November 5, 2026
2-Takes the start date away from the end date.November 5, 2026 - …
3A8The start date.1

Read it left to right. Weekends and holidays count as days. The same date gives 0.

=B8-A8

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own dates. Paste start dates and end dates into the green columns of the Template tab. The days fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Put the earlier date in Start date. If the end comes first, you get a minus number.

Microsoft's help: DATE function