Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bridget
 
Posts: n/a
Default total a time column that is formatted as ddd:hh:mm:ss .ddd=days

Hi all, I am trying to total a time column. It is currently imported as
ddd:hh:mm:ss where ddd = days (not the day of the week). ANy ideas would be
appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default total a time column that is formatted as ddd:hh:mm:ss .ddd=days

SUM???
"Bridget" wrote in message
...
Hi all, I am trying to total a time column. It is currently imported as
ddd:hh:mm:ss where ddd = days (not the day of the week). ANy ideas would
be
appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default total a time column that is formatted as ddd:hh:mm:ss .ddd=days

I'd use data|text to columns to separate the ddd from the hh:mm:ss.

Then add the two columns and then sum them.

In B11:
=sum(B1:B10)+sum(c1:c10)

Then in B12:
=TEXT(INT(A11),"000")&":"&TEXT(MOD(A11,1),"hh:mm:s s")


Or don't use the data|text to columns and use these two formulas:

with data in A1:A10,
put this in A11:
=SUMPRODUCT(--LEFT(A1:A10,3))+SUMPRODUCT(--RIGHT(A1:A10,8))
And put this in A12:
=TEXT(INT(A11),"000")&":"&TEXT(MOD(A11,1),"hh:mm:s s")

Bridget wrote:

Hi all, I am trying to total a time column. It is currently imported as
ddd:hh:mm:ss where ddd = days (not the day of the week). ANy ideas would be
appreciated.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bridget
 
Posts: n/a
Default total a time column that is formatted as ddd:hh:mm:ss .ddd=day

Dave,
This is getting me closer to an answer, but I don't have a solution
yet. I get an error when I use all your examples. But I like this sum product
idea and am investigating it further. Thanks

"Dave Peterson" wrote:

I'd use data|text to columns to separate the ddd from the hh:mm:ss.

Then add the two columns and then sum them.

In B11:
=sum(B1:B10)+sum(c1:c10)

Then in B12:
=TEXT(INT(A11),"000")&":"&TEXT(MOD(A11,1),"hh:mm:s s")


Or don't use the data|text to columns and use these two formulas:

with data in A1:A10,
put this in A11:
=SUMPRODUCT(--LEFT(A1:A10,3))+SUMPRODUCT(--RIGHT(A1:A10,8))
And put this in A12:
=TEXT(INT(A11),"000")&":"&TEXT(MOD(A11,1),"hh:mm:s s")

Bridget wrote:

Hi all, I am trying to total a time column. It is currently imported as
ddd:hh:mm:ss where ddd = days (not the day of the week). ANy ideas would be
appreciated.


--

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
IF/AND/OR/DATEIF Issue...sorry...long post... EDSTAFF Excel Worksheet Functions 1 November 10th 05 12:28 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM
how to add time total in msg box khurram saddique Excel Discussion (Misc queries) 1 January 19th 05 04:13 PM
How to calculate the data in excel 2002 including only the last 9. TylerMaricich Excel Worksheet Functions 6 November 8th 04 07:27 AM


All times are GMT +1. The time now is 06:37 PM.

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"