ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Convert Total Hours and Minutes to Whole Number (https://www.excelbanter.com/excel-worksheet-functions/83119-convert-total-hours-minutes-whole-number.html)

BobS9895

Convert Total Hours and Minutes to Whole Number
 
I have looked and cant find this question anywhere. Lets say I have 49
employees who over 4 days have worked 1,572 hours and 19 minutes. How
do I enter the 1,572 hrs and 19 min in Excel? Once I can do that, then
I believe I multiply x 24 to get a whole number - correct?


Niek Otten

Convert Total Hours and Minutes to Whole Number
 
Enter 1572:49
And, yes, you are correct, multiply by 24, that will give you 1572.316667
Use INT() to get a number without a fraction.

--
Kind regards,

Niek Otten

"BobS9895" wrote in message oups.com...
I have looked and cant find this question anywhere. Lets say I have 49
employees who over 4 days have worked 1,572 hours and 19 minutes. How
do I enter the 1,572 hrs and 19 min in Excel? Once I can do that, then
I believe I multiply x 24 to get a whole number - correct?




Bob Phillips

Convert Total Hours and Minutes to Whole Number
 
Just format the cell as [h]:mm and enter 1572:19.

Multiplying by 24 will create the value 1572:317 if formatted as General,
which is a decimal representation of the number of hours. What whole number
are you after, hours, minutes, secs, days?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"BobS9895" wrote in message
oups.com...
I have looked and cant find this question anywhere. Lets say I have 49
employees who over 4 days have worked 1,572 hours and 19 minutes. How
do I enter the 1,572 hrs and 19 min in Excel? Once I can do that, then
I believe I multiply x 24 to get a whole number - correct?




BobS9895

Convert Total Hours and Minutes to Whole Number
 
Goodness, that was so easy. I still dont know why I couldnt figure that
out. Sometimes you just miss the obvious. Thanks to all!



All times are GMT +1. The time now is 09:59 AM.

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