Convert time in a decimal to hours and minutes

tonybr

New Member
Joined
Sep 4, 2019
Messages
5
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.
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
52,901
Office Version
  1. 365
Platform
  1. Windows
How about
=ROUND(DOLLARFR(A2,60),3)
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
52,901
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,481
Messages
5,596,396
Members
414,063
Latest member
N_Bates

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
Top