Summary

To calculate the days remaining from one date to another, you can use a simple formula that subtracts the earlier date from the later date. In the example shown, the formula in D5 is:

=C5-B5

Generic formula

=end_date-start_date

Explanation 

Dates in Excel are just serial numbers that begin on January 1, 1900. If you enter 1/1/1900 in Excel, and format the result with the "General" number format, you'll see the number 1. This means that you can easily calculate the days between two dates by subtracting the earlier date from the later date.

In the example shown, the formula is solved like this:

=C5-B5
=42735-42370
=365

Days remaining from today

If you need to calculate days remaining from today, use the TODAY function like so:

=end_date-TODAY()

The TODAY function will always return the current date. Note that after the end_date has passed, you'll start to see negative results, because the value returned by TODAY will be greater than the end date.

You can use this version of the formula to count down days to an important event or milestone, count down days until a membership expires, etc.

Remaining workdays

To count remaining workdays, see the NETWORKDAYS function and the example here.

Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.