adding seconds and minutes to get hours and days

sparkspll

New Member
Joined
Jul 3, 2006
Messages
16
I am trying to add duration time for song files. 4 minutes and 32 seconds + 3 minutes 45 seconds, etc. etc. to get total hours and then to total to days. The range of cells is over 5,000 and I am trying to find out how long a playlist will play.
Thank You in Advance, sparkspll
 
Hi

Sorry I can't receive your spreadsheet, but I imagine one of the two suggestions here should apply to your scenario.
Book4
ABCD
1Time (MM:SS)MinutesSeconds
211:311131
347:314731
457:365736
524:292429
641:464146
727:222722
815:501550
902:53253
1027:222722
1108:38838
1223:02232
13
140 days and 4:48:00282360
15
1660seconds per minute0days
173600seconds per hour4hours
1886400seconds per day48minutes
190seconds
Sheet1


If you have a column containing time that is formatted as time then a simple SUM() of the column with appropriate format could do the job (but notice Barry's answer above if the total exceeds 31).

Or if the elements are segmented into different columns (in my example C:D) then this can be formulated in e.g. these steps:

C16: DAYS =INT(((C14*60)+D14)/86400)
C17: HOURS =INT(((C14*60)+D14)/3600)-(C16*24)
C18: MINUTES =INT((((C14*60)+D14)/60)-(C17*60))
C19: SECONDS =((C14*60)+D14)-(C18*60)-(C17*3600)-(C16*86400)

Not sure if this helps but I hope it does :)
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
WOW!! Great help this is exactly what I wanted to do. Most Appreciated. Thanx Again, sparkspll

I do also have a problem adding KiloBytes, example below. If you could help with matter as well, Thanx
song 1 = 9,541kb
song 2 = 7,451kb
etc.
I really don't need to add to mb just straight to gb as my list is large.
Thanx in advance once again, sparkspll
 
Upvote 0
I think I figured out the problem I was having with html maker. Below is a sample of formulas I am still having trouble with. The cells with the ? marks. Thanx again, sparkspll
Song Size & Time.xls
EFGHIJK
1TotalGigaBytes>?TotalHours>?TotalDays>?
2KiloBytesMinutesSeconds
39,961414
43,181321
54,265149
65,03920.08
7
Sheet1
 
Upvote 0
Using your snap shot:

G1: =SUM(E3:E6)/1048576
I1: =INT(((SUM(F3:F6)*60)+SUM(G3:G6))/3600)-(K1*24)
K1: =INT(((SUM(F3:F6)*60)+SUM(G3:G6))/86400)

Kind regards
Jon
 
Upvote 0
Thank You so much for your much appreciated help, the formula's are working perfectly.
Much Thanx, sparkspll
 
Upvote 0

Forum statistics

Threads
1,216,030
Messages
6,128,411
Members
449,449
Latest member
Quiet_Nectarine_

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