How to convert a number into hours in Google Sheets

DigiKev picture DigiKev · May 3, 2012 · Viewed 33.9k times · Source

1950 minutes is 32.5 hours. How do I calculate this using a formula in Google Sheets?

I am logging the number of minutes that I take on completing tasks and need a way of converting these numbers into the number of hours in Google Spreadsheets.

I have a column that contains rows of minutes, 1 row per task. This sum total of this column then needs to be added together, then converted into hours.

Answer

PierreLeroux picture PierreLeroux · May 8, 2014

Here is a function that converts minutes in hour:minutes,

=if( A1 = 0 ; "" ; concatenate( quotient( A1 ; 60 ) ; ":" ;MOD(A1  ; 60) )) 

62 --> 1:2