Skip to main content

How to convert between hours, minutes, seconds or days in Excel?

How do you figure out how many minutes are in the one and a half day, or how many hours are in the five million seconds? This article will show you some easy way to deal with it.

Convert between hour, minute, second or day with functions

Convert between hour, minute, second or day with Kutools for Excel

Convert hh:mm:ss time format to minutes, seconds or hours with formulas

Convert hh:mm:ss time format to minutes, seconds or hours with Kutools for Excel


1. Convert time between hour, minute, second, or day with conversion factor

As we known, 1 hour = 60 minutes = 3600 seconds =1/24 day. So we can convert the time measurement with multiplying these factors.

Convert between hours to seconds:

For example, to convert the hours to seconds, please enter the formula =A2*3600, and then drag the fill handle down to the cells to get the results you need, see screenshot:

doc convert time to seconds 1

If you want to convert seconds to hours, just apply this formula: =A2/3600.

Tips: Convert between hours and minutes, days:

Convert hours to minutes: =A2*60
Convert minutes to hours: =A2/60
Convert hours to days: =A2/24
Convert days to hours: =A2*24

2. Convert time between hour, minute, second, or day with Convert function

It is hard to remember the conversion factors? You can use the Convert function to convert tween hour, minutes, seconds or days too.

To convert hours to seconds:

Please type this formula =CONVERT(A2,"hr","sec") to easily convert cells from hours to seconds at once. See screenshot:

doc convert time to seconds 2

If you want to convert seconds to hours, just apply this formula: =CONVERT(A2,"sec","hr").

Tips: Just replace the unit name in the formula, you can easily convert between these time measurements.

measurement using in formula
Year "yr"
Day "day"
Hour "hr"
Minute "mn"
Second "sec"

Do not need to remember neither the conversion factor nor the function, Kutools for Excel's Unit Conversion tool can help you easily deal with it.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 30 days

1. Select a range you want to work with.

2. Click the Kutools > Content > Unit Conversion. See screenshot:

3. Specify the Time unit in the drop-down box of Unit, and then select source unit in the left box, converted unit in the right box, and you will see the result in the Preview box. See screenshot:

doc convert time to seconds 4

4. Click Ok or Apply. The time between hours and minutes are converted as following screenshot shown:

doc convert time to seconds 5

Note: If you want to keep the source unit in the cells and show results in the comment, you can check Add results as comment. See screenshot:

doc convert time to seconds 6

Click here to know more information about Unit Conversion.

 Download and free trial Kutools for Excel Now !


Sometimes you may get a time with hour, minutes, and seconds together, and now you can use the following formulas to convert it to minutes, seconds or hours.

Convert hh:mm:ss time format to hours:

Please apply this formula to convert the hh:mm:ss time format to hours: =HOUR(A2) + MINUTE(A2)/60 + SECOND(A2)/3600,and drag the fill handle to the cells that you want to contain this formula.

doc convert time to seconds 7

Tips:

To convert hh:mm:ss time format to minutes: =((HOUR(A2)*60)+MINUTE(A2)+(SECOND(A2)/60));

To convert hh:mm:ss time format to seconds: =HOUR(A2)*3600 + MINUTE(A2)*60 + SECOND(A2).


Are you tired with the formulas, so ,here, I can introduce you a handy and easy tool-Kutools for Excel, with its Convert Time feature, you can quickly finish this job without any formulas.

After installing Kutools for Excel, please do as follows:( Free Download Kutools for Excel Now! )

1. Select the time cells that you want to convert.

2. Click Kutools > Content > Convert Time, then choose Time to Hours / Time to Minutes / Time to Seconds as you need, see screenshot:

3. And the selected time cells have been converted into the desired hours, minutes or seconds you need, see screenshot:

doc convert time to seconds 9

Tips: If you want the converted result located in another location, you can go the Convert Time dialog by clicking Kutools > Content > Convert Time, in the Convert Time dialog box, choose the convert type you need, and then check Save to another location checkbox, and click a cell where you want to put the result, see screenshot:

doc convert time to seconds 10

Download and free trial Kutools for Excel Now !


Relative article:

How to convert between kb and mb, gb, tb and vice versa?

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 (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have 36904 sec, i want to have it in hour, minute and seconds, how?
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
Vraagje: Ik moet van 04:22 naar 00:04:22, welke formule kan ik gebruiken?
This comment was minimized by the moderator on the site
Hi there,

There is a workaround with Kutools:
1. Select 04:22 and then click To Actual) on Kutools tab.
2. On Kutools tab, in Editing group, select Text > Add Text. In the pop-up dialog, enter "0:" in the first textbox, and select Before first character.
https://www.extendoffice.com/images/stories/comments/ljy-picture/add-text.png
3. Select the cell, press Ctrl + 1, and then click Time, and select a time format you want.

Now, the hour:munite is converted to minute:second.

Amanda
This comment was minimized by the moderator on the site
if work start on 5-3-15 10:30 PM proposed work completed after 76478hr 45 minutes and daily working hrs are 6hrs how to calculate work completed time and date
This comment was minimized by the moderator on the site
Hoe zet ik een tijd bijv 12:15u om naar getal 12,25 in excel?

Alvast bedankt!
This comment was minimized by the moderator on the site
Hi there,
You can simply multiply the time by 24.
https://www.extendoffice.com/images/stories/comments/ljy-picture/time-to-hour-number.png

Note that you should apply the general format on the cell (B2): Select B2, press Ctrl + 1, click General. Then click OK.
https://www.extendoffice.com/images/stories/comments/ljy-picture/time-to-hour-number-format.png

Amanda
This comment was minimized by the moderator on the site
In the example - Convert hh:mm:ss time format to hours:
Time is 24:12:09 converted to 0.2025 hours. This is not correct.

This comment was minimized by the moderator on the site
Hi, Joshi,Normally, in Excel the time 24:12:09 is recognized as 00:12:09 by default.
This comment was minimized by the moderator on the site
Can anyone help with the desired output:- Input Data- 2 days 2 hours 2 minutes 2 seconds Desired Output - 50:02:02
This comment was minimized by the moderator on the site
How to convert DD:H:MM format in to Hours For Ex.03:01:10 convert to hours formats 36:10(h:mm)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations