![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 15
|
I have a worksheet in which i input minutes of the hour, what i need is for a cell to show total hours and minutes when the minutes have been added up, i have set it so it divides the total by 60 but it doesn't work out right can anyone help.
[ This Message was edited by: h58299 on 2002-05-18 08:26 ] [ This Message was edited by: h58299 on 2002-05-18 08:34 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
[h]:mm I assume the cells with minutes are of proper time format. [ This Message was edited by: Aladin Akyurek on 2002-05-18 08:23 ] |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 15
|
when i try that the total changes to 10:00 even though the hours add up to 10:25 mins
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: May 2002
Location: Cornwall,England
Posts: 1,273
|
hello h58299
I've just had a go, and formatted the cell for: time, 13:13 i.e. time format and select the first option on the drop down list. Then in the totals cell (where you want your hours and minutes to be totalled) autosum the range where your minutes are, then divide by 1440. so the totals cell reads: =SUM(A1:A9)/1440 good luck Sykes |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: May 2002
Location: Cornwall,England
Posts: 1,273
|
Blast, it only works if your total minutes comes to less than 24 hrs.
Will have a re-think! |
|
|
|
|
|
#7 |
|
Board Regular
Join Date: May 2002
Location: Cornwall,England
Posts: 1,273
|
Right. Got it now.
As before (autosum your minutes cells, then divide by 1440) then custom format the totals cell [h]:mm Let me know if it's ok. Sykes |
|
|
|
|
|
#8 |
|
New Member
Join Date: Apr 2002
Posts: 15
|
works great, thanks you saved my sanity
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|