Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SandyMichalski
 
Posts: n/a
Default How do I sum increments of minutes and seconds

I have an excel spreadsheet that has time entered in for minutes and
seconds; ie 7 minutes and 28 seconds is shown as 7.28. How do I sum a
column with increments of time.

example:
7.28 (7 minutes & 28 seconds)
2.38 (2 minutes & 38 seconds)
5.48 (5 minutes & 48 seconds)

Total time should result in 15.54 (15 minutes & 54 seconds), but if I do a
simple SUM, the results are 15.14. HELP!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default How do I sum increments of minutes and seconds

You seem to have entered the dates as decimal values. But remember a
minute has 60 seconds, not 100. So 0.28 mintes equals 60/100*28 = 16.8
seconds.

Enter the values as 7:28, 2:38 and 5:48 and it should work. However,
remember that adding up times can never display more than 24 hours!

Hans

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default How do I sum increments of minutes and seconds

Hi Sandy:
The problem is the decimal point where a colon is needed (7:28 not 7.28)
1) Use Edit | Find and Replace to convert dot to colon;
then put 60 in a blank cell, copy this, select you range of times, use
Edit|Paste Special Divide; format cells with m:ss
or
2) use a new column with (assuming first time is in A2) formula
=TIME(0,INT(A2),MOD(A2,1)*100) and format with m:ss
or
3) use
=TIME(0,SUM(INT(A2:A4))+INT(SUM(MOD(A2:A4,1)*100)/60),MOD((SUM(MOD(A2:A4,1)*100)/60),1)*60)
entered as array formula with SHIFT+CTRL+ENTER

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"SandyMichalski" wrote in message
. ..
I have an excel spreadsheet that has time entered in for minutes and
seconds; ie 7 minutes and 28 seconds is shown as 7.28. How do I sum a
column with increments of time.

example:
7.28 (7 minutes & 28 seconds)
2.38 (2 minutes & 38 seconds)
5.48 (5 minutes & 48 seconds)

Total time should result in 15.54 (15 minutes & 54 seconds), but if I do a
simple SUM, the results are 15.14. HELP!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default How do I sum increments of minutes and seconds

Sandy,
try this:

=SUM(TIMEVALUE("0:"&LEFT(A1:A3,FIND(".",A1:A3)-1)&":"&MID(A1:A3,FIND(".",A1:A3)+1,LEN(A1:A3))))

This is an array formula, hence it should be committed with
Shift+Ctrl+Enter.

The problem with this formula is that you have to specify the range
A1:A3 exactly in several parts, and it will give you a #VALUE! error if
applied to a bigger range than you have data, b/c of the blank cells. A
sightly more complext alternative,

In a separate cell (say C3) enter the range that you want to sum. E.g.
C3 contains text A1:A3

Then you can use the following (again array) formula

=SUM(TIMEVALUE("0:"&LEFT(INDIRECT(C3),FIND(".",IND IRECT(C3))-1)&":"&MID(INDIRECT(C3),FIND(".",INDIRECT(C3))+1,L EN(INDIRECT(C3)))))

HTH
Kostis Vezerides

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SandyMichalski
 
Posts: n/a
Default How do I sum increments of minutes and seconds

I think I followed your instructions correctly, however, I having problems.

First I replaced the decimal point with a colon in my data. My data begins
in cell A1 and ends in A3. I selected the blank cell A4. I typed in the
formula =TIME(0,SUM(INT(A1:A3))+INT(SUM(MOD(A1:A3,1)*100)/60),
MOD((SUM(MOD(A1:A3,1)*100)/60),1)*60) into the formula bar and did
SHFT/CTRL/ENTER.

Then I receive an error "One of the Agruments is not valid for this
function".

I'm lost. Help!


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default How do I sum increments of minutes and seconds

Send me your file (to my personal email - not the newsgroup)
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"SandyMichalski" wrote in message
. ..
I think I followed your instructions correctly, however, I having problems.

First I replaced the decimal point with a colon in my data. My data
begins
in cell A1 and ends in A3. I selected the blank cell A4. I typed in the
formula =TIME(0,SUM(INT(A1:A3))+INT(SUM(MOD(A1:A3,1)*100)/60),
MOD((SUM(MOD(A1:A3,1)*100)/60),1)*60) into the formula bar and did
SHFT/CTRL/ENTER.

Then I receive an error "One of the Agruments is not valid for this
function".

I'm lost. Help!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding minutes & seconds Emily16 Excel Discussion (Misc queries) 5 October 13th 05 10:01 PM
Formatting minutes and seconds to calculate a total average VeronicaO Excel Worksheet Functions 4 October 6th 05 08:42 PM
Sum minutes and seconds to total hours deck4 Excel Discussion (Misc queries) 3 August 29th 05 02:34 PM
how do I add minutes and seconds together in excel BeirutBomber Excel Worksheet Functions 1 August 21st 05 11:10 AM
convert seconds to minutes and seconds Brian Excel Worksheet Functions 2 December 9th 04 09:45 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"