Converting minutes to Hours

searchingforhelp

Board Regular
Joined
Nov 11, 2020
Messages
67
Office Version
  1. 365
Platform
  1. Windows
Hi, I hope all is well.
This sheet's objective is to count how many minutes it takes me to complete a project. I created a basic formula, to sum up the numbers in column I. However, the formula in I18 gives me an incorrect amount of 4.25 instead of 21:40. Also, the formula has created unnecessary rows 19-25 for some reason. Is there a better formula to convert the minutes to hours that will also eliminate the unnecessary rows?

Thanking you in advance for any help you can provide.

Timesheet.xlsx
ABCDEFGHI
6ItemsMonTueWedThuFriSatSunTotal Minutes Worked
77/24/20237/25/20237/26/20237/27/20237/28/20237/29/20237/30/2023
8Project 130604510120265
9Project 2 
10Project 3 
11Project 4 
12Project 5 
13Project 6 
14Project 7 
15Project 8 
16Project 93004003002001001300
17
18Grand Total H:M4:25
190
200
210
220
230
240
250
2621:40
7-24-2023
Cell Formulas
RangeFormula
I8:I16I8=SUM(B8:H8)
I18:I26I18=I8:I16/24/60
Dynamic array formulas.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Why is 4:25 wrong & 21:40 correct?
If you want the total hours worked shouldn't it be 26:05?
 
Upvote 0
to sum up the numbers in column I
1) The SUM() function is nowhere to be seen
2) Why are you expecting 21:40 as your total when 265+1300 is 1565, which is greater than the 1440 minutes in a day?
 
Upvote 0
Why is 4:25 wrong & 21:40 correct?
If you want the total hours worked shouldn't it be 26:05?
Thank you Fluff, if the total hours worked should be 26.05, how can I have the total in one cell verse how it is broken down?
 
Upvote 0
1) The SUM() function is nowhere to be seen
2) Why are you expecting 21:40 as your total when 265+1300 is 1565, which is greater than the 1440 minutes in a day?
Thank you Anonymous, yes the minutes in row 16 is an exaggeration. I adjusted

Timesheet.xlsx
ABCDEFGHI
6ItemsMonTueWedThuFriSatSunTotal Minutes Worked
77/24/20237/25/20237/26/20237/27/20237/28/20237/29/20237/30/2023
8Project 130604510120265
9Project 2 
10Project 3 
11Project 4 
12Project 5 
13Project 6 
14Project 7 
15Project 8 
16Project 96060606060300
17
18Grand Total H:M for the week4:25
190
200
210
220
230
240
250
265:00
7-24-2023
Cell Formulas
RangeFormula
I8:I16I8=SUM(B8:H8)
I18:I26I18=I8:I16/24/60
Dynamic array formulas.
 
Upvote 0
Try this formula in your total minutes cell
=INT(i18/60)&":"&TEXT(MOD(i18,60),"00")
 
Upvote 0
That is going to return text & not a number, Also as I18 is the Total minutes cell it ill give a circular reference.

@searchingforhelp did you try what I suggested in post#5?
 
Upvote 0
If the result should be displayed as hh:mm use:
=INT(SUM(sum range)/60)&":"&TEXT(MOD(SUM(sum range),60),"00")

If you want the sum formatted as a number (hh.mm) try:
=INT(SUM(sum range)/60) + MOD(sum range,60)/100 and
format the cell with two (2) decimal places
 
Upvote 0
Or just use the far simpler formula I suggested. ;)
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top