
Kishore K
New Member
Members

Forum Posts: 2
Member Since:
August 23, 2019
August 23, 2019

Hi,
I'm new to VBA. I've attached the document here. I need a macro to compare the sheet 2 Item number data's with sheet 1 to find the duplicates.
After finding the duplicate it has to calculate the total count in the Duplicate count cell as a Order.
Waiting for Positive response.
Thanks in advance
Regards,
Kishore

David_Ng
Member
Members

Forum Posts: 306
Member Since:
December 5, 2016
December 5, 2016

Or using countif formula, simple way out
=COUNTIF(Sheet2!$A$2:$A$19,A2) |
=COUNTIF(Sheet2!$A$2:$A$19,A3) |
=COUNTIF(Sheet2!$A$2:$A$19,A4) |
=COUNTIF(Sheet2!$A$2:$A$19,A5) |
=COUNTIF(Sheet2!$A$2:$A$19,A6) |
=COUNTIF(Sheet2!$A$2:$A$19,A7) |
=COUNTIF(Sheet2!$A$2:$A$19,A8) |
=COUNTIF(Sheet2!$A$2:$A$19,A9) |
=COUNTIF(Sheet2!$A$2:$A$19,A10) |
=COUNTIF(Sheet2!$A$2:$A$19,A11) |
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Philip Treacy, Jack Brett, Natasha Smith
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Forum Stats:
Groups: 3
Forums: 24
Topics: 6211
Posts: 27239
Member Stats:
Guest Posters: 49
Members: 31891
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
