How to Calculate the Amount of Time Between Two Dates in Excel
May 23, 2016 / / Comments Off on How to Calculate the Amount of Time Between Two Dates in Excel
< 1 minute read

[ad-banner image=”https://www.bettercloud.com/wp-content/uploads/sites/3/2015/06/119clicks-250×260-1.jpg” url=”https://www.bettercloud.com/top-it-workflows-and-automations/?bc_offer=academy-monitor-119clicks-250X260″]
Calculating the amount of time between two dates is slightly more complicated than calculating the difference between other types of numbers. The irregular number of days in months, leap years, and other factors make this type of calculation slightly more complex. However, Microsoft Excel has a function you might not know about that’s designed specifically to calculate the amount of time in between two dates.
- In Microsoft Excel, list the dates you’d like to calculate the time between. For this example, let’s say cell A1 has one date, and B1 has another.
- In a new cell, type in =DATEDIF(A1,B1,”Y”). The “Y” signifies that you’d like the information reported in years. This will give you the number of years between the two dates.
- To find the number of months or days between two dates, type into a new cell: =DATEDIF(A1,B1,”M”) for months or =DATEDIF(A1,B1,”D”) for days.Â