ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   dividing a number into hours and minutes (https://www.excelbanter.com/excel-discussion-misc-queries/248683-dividing-number-into-hours-minutes.html)

Ramona

dividing a number into hours and minutes
 
My users are entering numbers into column B. Is it possible to take the
total of column B (say Row X) and divide it into hours and minutes putting
the hours in Row X Column D and minuntes in Row X Column E (two seperate
cells)? They are entering just numbers in multiples of 5 and usually not
more than 30 minutes. Do I need to convert Column B to some form of 'time'
to get close to the result I'm looking for? Is this even doable?

Tom Hutchins

dividing a number into hours and minutes
 
Try this...

In D1, enter =INT(B1/60)
In E1, enter =MOD(B1,60)

In this example, Row X is row 1.

Hope this helps,

Hutch

"ramona" wrote:

My users are entering numbers into column B. Is it possible to take the
total of column B (say Row X) and divide it into hours and minutes putting
the hours in Row X Column D and minuntes in Row X Column E (two seperate
cells)? They are entering just numbers in multiples of 5 and usually not
more than 30 minutes. Do I need to convert Column B to some form of 'time'
to get close to the result I'm looking for? Is this even doable?



All times are GMT +1. The time now is 12:08 AM.

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