Excel 2010: Convert Number Values Into Time

There are many ways in which you can enter time into cell, but Excel has an built-in function which facilitates users to convert values into time format, by using this function you can convert data in hrs:mm format, and hrs:mm:sec format. It automatically shows military time format against the suitable values in the cell. This post covers how to change values into time format.

Launch Excel 2010, open a datasheet in which you want to convert values to time format.

values

We are intending to convert values in the Time (Values) field into hh:mm, now we will be adding another field with a label Time (hrs:mins). We will be writing a simple formula in the first row.

new field 1

Now lets add the formula;

=B2/(24)

In formula, we are dividing time by 24 (24 hrs sums up a day). This will yield value in decimal.

formula result


Now select the cell that contain result, and right-click to select Format Cells.

format cells

Format Cells dialog will appear, from the left pane select Custom, and from the right pane under Type, look for h:mm AM/PM, and click OK.

hours mins 1

Here you can see in the screenshot below, that the value is now converted into Time format.

time 1

Now drag the plus sign at the end of the cell towards the end of the column, to apply it over the whole field.

new 1

You can also check out previously reviewed guides on SmartArt in Excel 2010 & Data Bars in Excel 2010.

Advertisement
  • israel fregoso

    What about minutes to hour:minutes:secs?

    I see your formula converts decimals to secs, then how can I conver 189.25 minutes into 3:09:15 (H:M:S) ?

    thanks!

    • AVercammen

      hh:mm:ss with will have 2 digits for the hrs

  • Diana V

    hey I want to know how to convert a numeric (non-decimal/value) entry to minutes and seconds, for example: in a single entry of numbers 4520 into 45:20, that will be so helpful in a project I’m doing from work, pleaseee

    • Skypenguin

      use a formula in a new column. If your value is in cell a1 then type =left(a1,2)&”:”&right(a1,2) Then drag down the entire row.

  • Cindy

    I have a table of 10 digit numbers from a time clock app in my iphone. I took it to be repaired and forgot to export the file to excel. The tech exported it into some other type of file and the closest I can get is these 10 digit numbers. I was able to subtract one column from the other and divide by 60 twice and came up with what would be the time worked. Is there a way to convert that 10 digit number to a date and time? Here is an example that should probably be March 1st –
    1361297220