Skip to main content

How to calculate days hours and minutes between two dates in Excel?

Supposing, you have two columns of date time cells, and now, you want to calculate the difference in days, hours and minutes between these two date time cells as following screenshot shown. This article, I will talk about some methods to solve this task for you.

Calculate days hours and minutes between two dates with formula

Calculate days hours and minutes between two dates with a handy feature


Calculate days hours and minutes between two dates with formula

The following formula can help you to calculate the difference in days, hours and minutes between two dates, please do as this:

Enter this formula into a blank cell where you want to output the result:

=INT(B2-A2)&" Days "&HOUR(MOD(B2-A2,1))&" Hour "&MINUTE(MOD(B2-A2,1))&" Minutes"

And then drag the fill handle down to the cells that you want to calculate the difference in days, hours and minutes between the two dates, see screenshot:

Note: In above formula, B2 is the end date cell, and A2 is the start date cell, you can change them to your need.


Calculate days hours and minutes between two dates with a handy feature

If you wouldn't like to remember the formula, with Kutools for Excel's Formula Helper feature, you can get the result only several clicks.

Note: To apply this Formula Helper, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Click a cell where you want to locate the calculated result, and then, click Kutools > Formula Helper > Formula Helper, see screenshot:

2. In the Date & Time Helper dialog box, do the following operations:

  • In the Formula Type drop down list, please select Date option
  • Then, select Count days, hours and minutes between dates option in the Choose a formula list box;
  • In the right Arguments input box, select the cells which contain the start date and end date that you want to use to calculate.

3. After finishing the settings, click Ok button, and you will get the first calculated result, then, drag the fill handle down to the cells that you want to apply this formula, and you will get the following result as you need:

Click to Download Kutools for Excel and free trial Now!


More relative date and time articles:

  • Calculate The Length Of Service From Hire Date
  • If you have a range of data including employee names and their date of joining your company in a worksheet, now, you may want to calculate their length of service, it means to get how many years and months an employee has worked for your company. This article, I will talk about quick method to solving this job for you.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (3)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
awedawdwadawdaw
This comment was minimized by the moderator on the site
Hola Gracias por la informacion
Como puedo hacer ahora para sumar la columna D del ejercicio y me genere un total de dias, horas y minutos?
Gracias
This comment was minimized by the moderator on the site
Thank you that worked for me.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations