Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Days Left in the Year.
by Allen Wyatt
(last updated July 6, 2019)
Do you ever need to figure out how many days are left in the current year? Since Excel stores dates as serial numbers—making them easy to subtract—it is easy to put together a formula that will return the number of days left in the year:
This formula assumes that the date you want to analyze is in cell C12. It uses the DATE function to calculate the serial number for the last day of the year (December 31), and then subtracts the serial number for the actual date. The result is the difference—the number of days—between the two dates.
If you want to find the days left in the year from today, you don't need to put a date into a cell. You could use this formula:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6147) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Days Left in the Year.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
Excel includes a large number of functions that can be used in evaluating the data in a worksheet. In this tip you learn ...Discover More
Need to copy a range of dates and update them to a different year? Here are a number of ways to accomplish this task with ...Discover More
Excel allows you to perform quite a few operations using dates in your worksheet. Sometimes, however, the answer may not ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.