Skip to main content

How to convert dd hh mm time format to hours or minutes in Excel?

Author: Xiaoyang Last Modified: 2022-07-28

Supposing you have a list of date format as DD:HH:MM which means days, hours, minutes, but now, you need to convert this to hours or minutes. This article will talk about how to convert the DD:HH:MM time format to hours or minutes in Excel.

Convert DD:HH:MM time format to hours and minutes

Convert DD HH:MM:SS time format to minutes only


arrow blue right bubble Convert DD:HH:MM time format to hours and minutes

For example, to convert 01:23:15 (1day, 23hours, 15minutes) to 47:15 (47hours, 15minutes), please apply the following formula:

Enter this formula:

=24*LEFT(A2,FIND(":",A2)-1)+MID(A2,FIND(":",A2)+1,LEN(A2)-2-LEN(RIGHT(A2,LEN(A2)-FIND("@",SUBSTITUTE(A2,":","@",2))))-LEN(LEFT(A2,FIND(":",A2)-1)))&":"&TEXT(RIGHT(A2,LEN(A2)-FIND("@",SUBSTITUTE(A2,":","@",2))),"00") into a blank cell where you want to output the result, and then drag the fill handle down to the cells which you want to apply this formula, and all the DD:HH:MM time format has been converted to the HH:MM time format, see screenshot:

doc convert ddhhmm to hours 1


arrow blue right bubble Convert DD HH:MM:SS time format to minutes only

If you need to convert the DD HH:MM:SS date format to minutes only, such as convert 01 23:15:00 (1day, 23hours, 15minutes, 0second) to 2835 minutes. Please apply this formula:

Enter this formula into a blank cell:

=CONVERT(DATE(1900,1,LEFT(A2,FIND(" ",A2)-1))+TIME(RIGHT(LEFT(A2,FIND(":",A2)-1),FIND(" ",LEFT(A2,FIND(":",A2)-1))),LEFT(RIGHT(A2,LEN(A2)-FIND(":",A2)),FIND(":",RIGHT(A2,LEN(A2)-FIND(":",A2)))-1),RIGHT(A2,LEN(A2)-FIND(":",A2,FIND(":",A2)+1))),"day","mn") and then drag the fill handle down to the cells to contain this formula, and the DD HH:MM:SS date format has been converted to only minutes, see screenshot:

doc convert ddhhmm to hours 2


Convert hh:mm:ss time format to hours / minutes / seconds:

Kutools for Excel's Convert Time feature can help you to convert multiple time format to hours, minutes or seconds as you wanted. Click to download and free trial Kutools for Excel now!

doc convert 12 hour to 24 hour 4

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now!

 

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 (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How would you convert the DD HH:MM:SS formula provided to output minutes if the original format is DD HH:MM instead of DD HH:MM:SS?
This comment was minimized by the moderator on the site
Hello, Caroline
To solve your problem, please apply the below formula:
=1440*(LEFT(A2,FIND(" ",A2)-1)+TIME(MID(A2,FIND(" ",A2)+1,FIND(":",A2)-FIND(" ",A2)-1),MID(A2,FIND(":",A2)+1,2),0))

Please try, hope it can help you!
This comment was minimized by the moderator on the site
I need to convert HH:MM:SS to hours only. It is coming into Excel from our database 3/01/1900 10:00:00 AM which is presenting as 82:00:00. I want this cell to just show 82 as a number. I found a formula using MROUND to achieve this very simply but I have lost the formula now! Any ideas?
This comment was minimized by the moderator on the site
Hello, Caitriona C
To solve your problem, maybe the below formula can help you:
=CONVERT(A2,"day","hr")


Please try, hope it can help you!
This comment was minimized by the moderator on the site
i have hours i need convert to day:hour:mint
This comment was minimized by the moderator on the site
Hi, prem,
To convert hours to dd:hh:mm format, please apply the below formula:
=DAY(A2/24)&":"&MOD(INT(A2),24)&":"&INT(MOD(A2,1)*60)

https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-covert-to-dd-hh-mm.png
Please try, hope it can help you!
This comment was minimized by the moderator on the site
Hello. How to ask excel to show more then 31 days in format "DD:HH:MM"?
Thanks in advance.
This comment was minimized by the moderator on the site
Hello, Gogara
Sorry, I can't get your point, could you upload a screenshot or attachment to explain your problem?
Thank you!
This comment was minimized by the moderator on the site
I have DD:HH:MM:SS and I want to convert to HH:MM:SS
This comment was minimized by the moderator on the site
I thought the formula for coverting DD:HH:mm:ss looked a little funky. I've been working with Excel for ages and i'm pretty good at getting it to do what I want but have a bit of trouble with data files generated by LANDH systems and need to convert to decimals. SInce I don't know python, my options are limited.

This funky formula did not work for me. The syntax is not like formulae I have used before so I'm just not going to mess with this one. I'm guessing I have to buy something first? I already bought office, that should be sufficient.
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations