LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Macro to Find a specific data set and do a count

Hi,
Here is my problem - I have 5 workbooks in a folder, each with 11
columns. Could anyone please help me with this - I want to take value
from C1, G1 & I1 and compare it with C2, G2 & I2 and down. If it finds
a match then I need to increment a counter. Once it goes through the
whole list, I need to do the same with the next not same row. I hope
the last part made sense. For example
Row C Row G Row I
1234 01 01
1234 01 01
1224 01 02
1244 01 03
1224 10 01
1234 01 01
1224 01 02

So it starts with first row goes through the whole list writes the
result as shown below, then looks at the 2nd row and since it is the
same as the first one, it should skip that row and go to the next one
(i.e., row 3) and start counting down
Result set should be

Row A Row B Row C Count
1234 01 01 3
1224 01 02 2
1244 01 03 1
1224 10 01 1

Need to write this result to the worksheet "data_from_files" in the
workbook "Combined". Need to do the same from all the 5 workbooks.
Each of the 5 workbook has only 1 sheet, but will have more than 30000
rows.

Any help on this would be greatly appreciated. Thanks in advance.
 
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
Macro to find specific data in a cell, then delete that row on down MultiMatt Excel Programming 1 May 15th 07 07:06 PM
HOw do i find and sort out data repeats for specific data set JRDePaul Excel Discussion (Misc queries) 0 February 26th 07 11:55 PM
count specific value with filtered data Shawn13 Excel Worksheet Functions 1 June 29th 06 12:27 AM
How do i create a macro to find a specific data? James Excel Programming 2 March 14th 06 07:56 AM
How do I count my data that are between specific values? LDC Excel Worksheet Functions 3 November 16th 04 11:14 PM


All times are GMT +1. The time now is 02:00 AM.

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"