Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Find and Count Duplicate values

I have a workbook with several sheets, there a 2 cols, SecID, TranID on each
sheet. I need the # of duplicate TranID for each secID. All this should be
done in VBA, The resultset should be

SecID TranID NumOfTimesUsed
1 3 5
1 8 3
etc.

Can I run a union query within Excel, if so what would be the syntax, or is
there another way with this type of result.

Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default Find and Count Duplicate values

Have a look here

http://spreadsheetpage.com/index.php...d_frequencies/

"mikeb" wrote:

I have a workbook with several sheets, there a 2 cols, SecID, TranID on each
sheet. I need the # of duplicate TranID for each secID. All this should be
done in VBA, The resultset should be

SecID TranID NumOfTimesUsed
1 3 5
1 8 3
etc.

Can I run a union query within Excel, if so what would be the syntax, or is
there another way with this type of result.

Mike

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 count once, multiple duplicate values? Rolf Excel Worksheet Functions 1 February 19th 09 04:18 AM
Count Duplicate Values Abdul Shakeel Excel Discussion (Misc queries) 2 February 29th 08 04:31 PM
How to count duplicate or repeat values Roshlin Excel Discussion (Misc queries) 12 January 28th 08 10:55 PM
Find, count and extract duplicate cells Igby Excel Worksheet Functions 1 December 9th 07 06:42 PM
Count duplicate values in worksheet Quek HS Excel Programming 2 May 18th 05 04:08 AM


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