Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Summing Similar Columns of Data

Hi all,

I am trying to sum Prod_Times (Col 5) in a particular column, which
correspond to each Company (Col 1) having similar or multiple
Tasks(Col 2).

As the data lies in multiple workbooks, i.e. for each month March,
April, etc...& all the data has to be collated into a single sheet
called Database, to make a sort of database, i need to have a VBA
looping structure order to add the Prod_Times for each Company with
only Similar Tasks.
The result should be shown in a separate sheet called Totals.

E.g:

Database Sheet:
CompanyName Tasks ...... Prod_Times
----------------------------------------------------------------------
Company1 Task1 01:00:12
Company1 Task1 00:20:42
Company1 Task2 03:03:32
Company2 Task11 01:10:12
Company2 Task21 01:30:12
Company2 Task11 04:00:12
Company3 Task10 01:00:32
Company3 Task10 02:11:44
Company3 Task10 01:20:12

I have already sorted the Database sheet.

Please advice.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Summing Similar Columns of Data

Looks like this would be tailor made for a pivot table (under the data menu).
If not the final product, it could at least do the summarization for you.

--
Regards,
Tom Ogilvy


"noname" wrote:

Hi all,

I am trying to sum Prod_Times (Col 5) in a particular column, which
correspond to each Company (Col 1) having similar or multiple
Tasks(Col 2).

As the data lies in multiple workbooks, i.e. for each month March,
April, etc...& all the data has to be collated into a single sheet
called Database, to make a sort of database, i need to have a VBA
looping structure order to add the Prod_Times for each Company with
only Similar Tasks.
The result should be shown in a separate sheet called Totals.

E.g:

Database Sheet:
CompanyName Tasks ...... Prod_Times
----------------------------------------------------------------------
Company1 Task1 01:00:12
Company1 Task1 00:20:42
Company1 Task2 03:03:32
Company2 Task11 01:10:12
Company2 Task21 01:30:12
Company2 Task11 04:00:12
Company3 Task10 01:00:32
Company3 Task10 02:11:44
Company3 Task10 01:20:12

I have already sorted the Database sheet.

Please advice.


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
Sorting multiple columns that have similar data RaqAc Excel Discussion (Misc queries) 0 May 11th 10 07:53 PM
Comparing two different columns - looking for similar data Cheimbig Excel Worksheet Functions 7 February 23rd 09 12:29 AM
Macro - To Include Summing All Similar Entries steven.holloway Excel Discussion (Misc queries) 1 December 24th 07 02:07 PM
Finding similar data or numbers in two columns sayemasof New Users to Excel 1 June 1st 05 08:41 PM
MATCH function - 2 columns w/ SIMILAR, not EXACT data Jane Excel Worksheet Functions 3 March 5th 05 03:11 AM


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