ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   covert 72.8 to 72:48 (https://www.excelbanter.com/excel-worksheet-functions/113678-covert-72-8-72-48-a.html)

Rosemary

covert 72.8 to 72:48
 
what is the formula to convert a time that is hours and decimal of hours to
hours and minutes for instance 72.8 to 72:48

Ron Rosenfeld

covert 72.8 to 72:48
 
On Tue, 10 Oct 2006 06:08:01 -0700, Rosemary
wrote:

what is the formula to convert a time that is hours and decimal of hours to
hours and minutes for instance 72.8 to 72:48


That depends on what you want to do with the value.

Basically, you divide by 24 and format the result as Format/Cells/Number/Custom
Type: [h]:mm

That would give a value that Excel would recognize as time.

You could also use the formula:

=TEXT(A1/24,"[h]:mm")

which would give a text string.


--ron

Bernie Deitrick

covert 72.8 to 72:48
 
Rosemary,

If the value is in cell A1, use

=A1/24

and format the cell with the formula for a custom number format of [h]:mm.

HTH,
Bernie
MS Excel MVP


"Rosemary" wrote in message
...
what is the formula to convert a time that is hours and decimal of hours to
hours and minutes for instance 72.8 to 72:48





All times are GMT +1. The time now is 11:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com