Remove Duplicate rows based on week number

Elliottj2121

Board Regular
Joined
Apr 15, 2021
Messages
50
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello

I am wondering if anyone can help me with this problem. I have a spreadsheet with about 10,000 rows and I want to remove duplicate customers that fall within the same week number. Note that some customers have the same name but different account numbers as shown with Alpha Co. Thank you in advance!!!

Here is a representative sample of the raw data:
Week NumDATECustomer NumberNAMECredit ManagerYear
236/1/2022100Alpha CoBob2022
236/1/2022900Alpha CoBob2022
236/1/2022101Beta CoJim2022
236/1/2022101Beta CoJIm2022
236/1/2022102Delta CoTom 2022
236/1/2022103Echo CoJudy2022
236/1/2022104Foxtrot CoBob2022
236/1/2022105Golf CoTom 2022
246/6/2022100Alpha CoBob2022
246/6/2022900Alpha CoBob2022
246/6/2022101Beta CoJim2022
246/6/2022101Beta CoJIm2022
246/6/2022102Delta CoTom 2022
246/6/2022103Echo CoJudy2022
246/6/2022104Foxtrot CoBob2022
246/6/2022105Golf CoTom 2022


And here is what I am looking for:
Week NumDATECustomer NumberNAMECredit ManagerYear
236/1/2022100Alpha CoBob2022
236/1/2022900Alpha CoBob2022
236/1/2022101Beta CoJIm2022
236/1/2022102Delta CoTom 2022
236/1/2022103Echo CoJudy2022
236/1/2022104Foxtrot CoBob2022
236/1/2022105Golf CoTom 2022
246/6/2022100Alpha CoBob2022
246/6/2022900Alpha CoBob2022
246/6/2022101Beta CoJIm2022
246/6/2022102Delta CoTom 2022
246/6/2022103Echo CoJudy2022
246/6/2022104Foxtrot CoBob2022
246/6/2022105Golf CoTom 2022
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi @Elliottj2121 . Thanks for posting on MrExcel board.

Use the excel functionality to remove duplicates:

1. Select your data..

2. On the Data tab, in the Data Tools group, click Remove Duplicates.

Click Remove Duplicates


The following dialog box appears.

3. Mark the Week num and Custom Number columns:

1683829622950.png


4. Click OK

I hope works for you.
Have a nice day
Dante Amor
----- --
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,215,151
Messages
6,123,319
Members
449,094
Latest member
Chestertim

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