Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
cs78 via OfficeKB.com
 
Posts: n/a
Default problem with summing

Hi everyone,

I'm having problems summing up a range of values. It's supposed to be time
but because the range of data was copied over from another program, 30
seconds would be displayed as ":30".

I've tried auto adding a "0" or "00" in front of it and changing the formats
to mm:ss but the sum of the range of figures still comes up as 00:00. Anyone
knows how I can go about summing up the total amount of time? Thanks!
  #2   Report Post  
Jon Quixley
 
Posts: n/a
Default


Dear CS78

You must enter time in the correct format with a colon to seperate the
seconds from the minutes from the hours. To do this specifically for
seconds means that you have to enter 00:00:15 and ensure that you
format it as hh:mm:ss. You can make things a bit easier by pretending
the seconds are minutes and reduce the number of 00:'s you will have to
enter, but once you've you done the formatting and entered seconds
correctly, the rest of it will be easy

Cheers
Jon


--
Jon Quixley
------------------------------------------------------------------------
Jon Quixley's Profile: http://www.excelforum.com/member.php...o&userid=25803
View this thread: http://www.excelforum.com/showthread...hreadid=476160

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(LEFT("00:00:00",8-LEN(A1:A10))&A1:A10))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"cs78 via OfficeKB.com" <u14879@uwe wrote in message
news:55d04ccffbec0@uwe...
Hi everyone,

I'm having problems summing up a range of values. It's supposed to be time
but because the range of data was copied over from another program, 30
seconds would be displayed as ":30".

I've tried auto adding a "0" or "00" in front of it and changing the

formats
to mm:ss but the sum of the range of figures still comes up as 00:00.

Anyone
knows how I can go about summing up the total amount of time? Thanks!



  #4   Report Post  
cs78 via OfficeKB.com
 
Posts: n/a
Default

It worked perfectly, thanks so much for your help!

Bob Phillips wrote:
=SUMPRODUCT(--(LEFT("00:00:00",8-LEN(A1:A10))&A1:A10))

Hi everyone,

[quoted text clipped - 5 lines]
to mm:ss but the sum of the range of figures still comes up as 00:00. Anyone
knows how I can go about summing up the total amount of time? Thanks!

  #5   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi

To convert your data, assuming the value is in A1
=--("00:00"&A1)
will convert it to a format that Excel understands as time.
You need to choose FormatCellsNumberCustom and choose hh:mm:ss
To sum the times just use =SUM(A1:A100) but format the cell as
[hh]:mm:ss to allow it to sum past 24 hours if necessary.

Regards

Roger Govier



cs78 via OfficeKB.com wrote:

Hi everyone,

I'm having problems summing up a range of values. It's supposed to be time
but because the range of data was copied over from another program, 30
seconds would be displayed as ":30".

I've tried auto adding a "0" or "00" in front of it and changing the formats
to mm:ss but the sum of the range of figures still comes up as 00:00. Anyone
knows how I can go about summing up the total amount of time? Thanks!


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
have some problem with database baldamenti Excel Discussion (Misc queries) 1 October 13th 05 05:38 PM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Excel Display Problem Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 0 April 19th 05 05:25 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM


All times are GMT +1. The time now is 03:58 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"