Keep one of duplicates

economist2010

New Member
Joined
Jan 31, 2012
Messages
48
Hi all,

I have two sheet as follows:

1- Sheet 1: includes the mobile numbers of all customers.

2- Sheet 2: includes some of the mobile numbers in sheet 1 who win the prize.

Note: sheet 1 includes +1M records.

Which code that I can use to remove all number who didn't win and keep only one of the duplicates for the numbers that won (as they will be in sheet 1 and in sheet 2). I need to only keep this in sheet .

Appreciate your kind support.
 
I see no relationship between the two files. There are no duplicates between them. Suggest you show us what the result would look like using these two files so we better understand what you are looking for.
No, each file has its own sheet. There is another sheet in file one and another sheet in file two but it seems that I could not add both of them. This is the first time for me to use XL2BB. I will try again.
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,213,494
Messages
6,113,988
Members
448,538
Latest member
alex78

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