Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
deck4
 
Posts: n/a
Default Sum minutes and seconds to total hours

I import a text file into Excel. I need to add one column of data that
contains minutes and seconds. I can use the SUM function to add a range
okay, however, when the total is more than one hour it fails to show me the
hour column and displays a small value in minutes only. I need to be able to
add the minutes and seconds and come up with a total showing the total hours
minutes and seconds for a range in this column. I listed the exact format
that I import into Excel below. Thank you in advance.

0:15
3:00
0:30
0:15

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

First, if you select one of those cells and look at the formula bar, I bet you
see:

03:00:00 (with 03:00 selected).

This means that excel is seeing your data as hh:mm:ss--not just mm:ss.

You can do the arithmetic in the cell with the sum:

=sum(a1:a4)/60
(format as mm:ss or [mm]:ss if you go past 60 minutes)

or you could fix your data.
put 60 in an empty cell
edit|copy that cell
select your range of times
edit|paste special|check divide
clean up that helper cell
and format the original range the way you want: mm:ss

Then the cell with the sum would show just:
=SUM(A1:A4)
(still format the way you want: [mm]:ss)



deck4 wrote:

I import a text file into Excel. I need to add one column of data that
contains minutes and seconds. I can use the SUM function to add a range
okay, however, when the total is more than one hour it fails to show me the
hour column and displays a small value in minutes only. I need to be able to
add the minutes and seconds and come up with a total showing the total hours
minutes and seconds for a range in this column. I listed the exact format
that I import into Excel below. Thank you in advance.

0:15
3:00
0:30
0:15


--

Dave Peterson
  #3   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

Deck,

I'm going to have to take a guess here on what you're describing. Does this
added column have a formula that sums the rows of times??? If so, it may
format itself to show hh:mm, which might look like mm:ss. Try changing the
format (Format - Cells - Number - Custom) to hh:mm:ss.
--
Earl Kiosterud
www.smokeylake.

"deck4" wrote in message
...
I import a text file into Excel. I need to add one column of data that
contains minutes and seconds. I can use the SUM function to add a range
okay, however, when the total is more than one hour it fails to show me
the
hour column and displays a small value in minutes only. I need to be able
to
add the minutes and seconds and come up with a total showing the total
hours
minutes and seconds for a range in this column. I listed the exact format
that I import into Excel below. Thank you in advance.

0:15
3:00
0:30
0:15



  #4   Report Post  
deck4
 
Posts: n/a
Default

the /60 added at the end of my formula did the trick. Thanks again!


"Dave Peterson" wrote:

First, if you select one of those cells and look at the formula bar, I bet you
see:

03:00:00 (with 03:00 selected).

This means that excel is seeing your data as hh:mm:ss--not just mm:ss.

You can do the arithmetic in the cell with the sum:

=sum(a1:a4)/60
(format as mm:ss or [mm]:ss if you go past 60 minutes)

or you could fix your data.
put 60 in an empty cell
edit|copy that cell
select your range of times
edit|paste special|check divide
clean up that helper cell
and format the original range the way you want: mm:ss

Then the cell with the sum would show just:
=SUM(A1:A4)
(still format the way you want: [mm]:ss)



deck4 wrote:

I import a text file into Excel. I need to add one column of data that
contains minutes and seconds. I can use the SUM function to add a range
okay, however, when the total is more than one hour it fails to show me the
hour column and displays a small value in minutes only. I need to be able to
add the minutes and seconds and come up with a total showing the total hours
minutes and seconds for a range in this column. I listed the exact format
that I import into Excel below. Thank you in advance.

0:15
3:00
0:30
0:15


--

Dave Peterson

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
how do I add minutes and seconds together in excel BeirutBomber Excel Worksheet Functions 1 August 21st 05 11:10 AM
Convert "Time Interval" in "hours : minutes : seconds" to seconds Ianukotnorth New Users to Excel 7 May 8th 05 08:11 PM
Create a custom format to convert seconds to minutes. XOXO Excel Discussion (Misc queries) 3 April 12th 05 11:34 PM
Formatting Hours and Minutes Anthony Slater Excel Discussion (Misc queries) 2 January 20th 05 02:03 PM
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 04:52 PM.

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

About Us

"It's about Microsoft Excel"