Remove Duplicate rows based on week number

Elliottj2121

Board Regular
Joined
Apr 15, 2021
Messages
56
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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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