Checking for duplicates

RichardMGreen

Well-known Member
Joined
Feb 20, 2006
Messages
2,177
Hi all

I want to check for duplicate IDs in a table but I need to do it in a specific way.
Each ID has a date attached to it (but in a different column).
I need to check the IDs for this month against all the IDs in the table and just count the duplicates.
E.g. ID C5432 appears in May and February so I want to return a 1 for that (so I can sum them later). ID C6785 only appears in May so it's ignored.
I then need to do the same for year to date as well (which is presumably the same idea just on a bigger scale?).

Anyone any ideas on where to start with this? I can pull the relevant IDs for month and year but I'm not sure how to check them.
 
Last edited:

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,224,614
Messages
6,179,906
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top