Convert time in a decimal to hours and minutes

tonybr

New Member
Joined
Sep 4, 2019
Messages
11
Office Version
  1. 365
I'm stumped with this one so hoping someone can help please.

I've been asked to create a sheet that contains a formula to convert decimal time into hours and minutes to three places.

e.g. 1.53 would become 1.318 (because .53 of an hour is 31.8 minutes).

The closest I have come is to put the 1.53 in cell A1, then:

B1 =LEFT(A1,(FIND(".",A1,1)-1))
C1 =(MID(A1,FIND(".",A1)+1,256))
D1 =6*C1
E1 =CONCATENATE(B1,".",D1)

This returns 1.318 but the method doesn't work if cell A1 is a whole number, say 1.00 or 2.00.

Also, 1.1 comes out as 1.6 (an hour and 6 minutes as it should) but so does 1.01 (which should be 1.06).

Any suggestions gratefully received.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
How about
=ROUND(DOLLARFR(A2,60),3)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,506
Messages
6,114,027
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top