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.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Post some sample data using XL2BB. In this manner, we can provide you with a workable solution for your exact issue. If unfamiliar with XL2BB look at my signature. Your samples should not contain more than 15-20 records.
 
Upvote 0
Post some sample data using XL2BB. In this manner, we can provide you with a workable solution for your exact issue. If unfamiliar with XL2BB look at my signature. Your samples should not contain more than 15-20 records.
I would like to keep the winners in sheet 3 who only are mentioned in sheet 1 or sheet 2. And at the same time remove other mobile numbers in sheet 3 for those who are not mentioned in sheet 1 or sheet 2.
Hope that now it is more clear.
 

Attachments

  • Keep winners in sheet 3 who are only in sheet 1 & 2.jpeg
    Keep winners in sheet 3 who are only in sheet 1 & 2.jpeg
    78.6 KB · Views: 5
Upvote 0
Remove winners in sheet 2 from sheet 1 and keep the other mobile numbers (that are not mentioned in sheet 2) in sheet 1 as they are.
 

Attachments

  • Remove winners in sheet 2 from sheet 1.jpeg
    Remove winners in sheet 2 from sheet 1.jpeg
    80.7 KB · Views: 3
Upvote 0
I am not going to rebuild your spreadsheet to solve your issue. Please re-upload with XL2BB as pictures cannot be manipulated and you are asking for help. Make it easy for us to help you and not make additional work.
 
Upvote 0
I am not going to rebuild your spreadsheet to solve your issue. Please re-upload with XL2BB as pictures cannot be manipulated and you are asking for help. Make it easy for us to help you and not make additional work.
Excel- keep duplicate & remove others.xlsx
A
111567890
211567891
311567892
411567893
511567894
611567895
711567896
811567897
911567898
1011567899
1111567900
1211567901
1311567902
1411567903
1511567904
1611567905
1711567906
Sheet1


Hi Alan. The point is that this is my first time to use this feature that's why I was worried that I would not be able to use it properly.


Please confirm if I used it properly and that it is my query is more clearer to you now.
 
Upvote 0
Remove winners in sheet 2 from sheet 1 and keep the other mobile numbers (that are not mentioned in sheet 2) in sheet 1 as they are.
exclude winners from 1M.xlsx
A
110010101010
210010101011
310010101012
410010101013
510010101014
610010101015
710010101016
810010101017
910010101018
1010010101019
1110010101020
1210010101021
1310010101022
1410010101023
1510010101024
1610010101025
1710010101026
1810010101027
1910010101028
2010010101029
1M record
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,332
Members
449,077
Latest member
jmsotelo

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