Pinterest Pixel

How to Calculate Days Since or Until Date in Seconds in Excel

John Michaloudis
Microsoft Excel treats dates as not just dates but sequential numbers.
It offers a gateway to efficient calculations and precise data management.

Use Excel's date functionalities and discover how to calculate days since or days until.

Microsoft Excel treats dates as not just dates but sequential numbers. It offers a gateway to efficient calculations and precise data management. Use Excel’s date functionalities and discover how to calculate days since or days until.

Key Takeaways:

  • Excel treats dates as sequential numbers and simplifies calculations.
  • Properly format cells and set up exceptions for holidays or non-working days for accurate date calculations.
  • Use functions like DATEDIF to effortlessly calculate time spans between dates.
  • Combine advanced formulas to manage complex date scenarios.
  • Use the TODAY function to anchor your calculations to the present.

 

Unlocking the Mysteries of Time with Excel

The Magic of Dates in Excel’s Universe

Excel has a unique way of storing dates; it considers them as sequential numbers, starting from January 1, 1900. This turns days into a type of currency you can calculate with ease. Understanding this concept is the first step in mastering the art of date calculations. Once you view dates as numbers, subtracting and adding them becomes as simple as dealing with everyday arithmetic.

Preparing Your Spreadsheet Time Machine

Before diving into the calculations, set up your spreadsheet to handle dates effectively. Begin by formatting cells to display dates. Next, if you plan to calculate based on holidays or non-working days, create a range name for these exceptions. This upfront preparation can save you time and avoid confusion, ensuring your date calculations are accurate and relevant to your specific scenario.

 

How to Calculate Days Since or Until Date

Using DATEDIF

Thinking of finding out how long ago an event took place? The DATEDIF function is like a time machine for your data. Follow these steps:

STEP 1: Input the start date in A2

days since or until date

STEP 2: Input the end date (or TODAY() for the current date) in cell B2.

days since or until date

STEP 3: Use the formula “=DATEDIF(start date, end date, unit)” by entering the same in cell C2. And replace the start date and end date with cell references A2 and B2, respectively. Choose the unit of time as days (“D”). This function quickly calculates the time elapsed in days.

days since or until date

Combining Formulas for Complex Date Calculations

You can combine DATE, DAY, and NETWORKDAYS.INTL to calculate the number of days until a specific date:days since or until date

This formula will return the number of working days that has passed until June 1, 2024. This value will exclude weekends and any specified holidays.

 

Practical Uses

Monitor Project Deadlines

You can calculate the number of days remaining for a project using subtraction and the TODAY formula. You can subtract the project end date from today’s date to get the result.

days since or until date

Calculate Countdown

Countdowns add pressure and can keep you motivated towards reaching the milestones. Use the simple subtraction formula

=Future Date - TODAY()

days since or until date

 

 

Tips and Tricks

Format Dates

You can follow the steps below to format dates in Excel:

  • Right-click on the cell.
  • Select Format Cells.
  • In the dialog box, you can select an appropriate date format.

days since or until date

You can also choose an appropriate time format for numerical calculations.

days since or until date

Business Days vs. Calendar Days

It is important to understand the difference between business days and calendar days for project timelines or deliveries. You can use NETWORKDAYS to consider only weekdays in the calculations.

days since or until date

This formula will return the number of working days between the two dates. You can use NETWORKDAYS.INTL function for non-standard weekends and to exclude list of holidays as well.

days since or until date

This considers Monday through Thursday as working days.

You can include another argument, i.e. list of holidays. This formula will now exclude the holidays from the calculation.

days since or until date

 

This will exclude the dates listed in cells D1:D3 from the calculation of working days.

 

FAQs

How to calculate the number of days since a date?

You can calculate the number of days since a date by subtracting the current date from it. The formula will be:

= TODAY – Specific Date

How to find out how many days are left until a future event?

Absolutely, just subtract today’s date from the future event date using the formula =[future event date] - TODAY(). Excel will instantly give you the number of days remaining until that event.

How to calculate days until due date?

You can use the subtraction formula to calculate days until the due date. The formula will be:

= Project Due Date – TODAY()

How to calculate the number of days since a date?

You calculate the number of days since a date by using =TODAY() - [past date], with [past date] being the date you want to calculate from. Excel will deliver the total days passed.

How to calculate days overdue in Excel?

To calculate days overdue in Excel, if the due date has passed, use the formula =TODAY() - [due date]. This will provide the number of days that are overdue, as long as TODAY’s date is beyond the due date.

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  How to Calculate Standard Deviation in Excel: A Detailed Tutorial

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...