Convert Hours to Decimal

  • Thread starter Thread starter dminkov
  • Start date Start date
D

dminkov

Hi everybody!

I have in a cell 40:23:04, which is number of hours and equals to 40.3
hours or to 2423.07 minutes. To convert the first value, I wrote th
following formula: =HOUR(A1567)+MINUTE(A1567)/60+SECOND(A1567)/3600.
I don’t think this formula is appropriate, moreover it doesn't wor
properly for values greater than 24h.
My final goal is to convert 40:23:04 hours to 2423.07 minutes
So, which function should I use and how to solve the problem?

Thank you in advance
 
Just multiply your value by 24 and by 60, as follows:

= A1 * 24 * 60

if your value is in cell A1.

Format as number with 2 decimal places.

Pete
 
Assume your cell is A1, try this formula in A2:

=ROUND(A1*1440,2)

N.B. 1440=24*60

Regards,
Stefi

„dminkov†ezt írta:
 
Back
Top