Find duplicate code with reference to generate new list

SamKhem

New Member
Joined
Mar 18, 2024
Messages
30
Office Version
  1. 2016
Platform
  1. Windows
Dear Senior member

I would like request you to assist fill run vba as find duplicate code with reference to generate new list as below:
Book4
ABCDE
1LISTRESULT
2CODEREFERENCECODEREFERENCE
3BA2319900009AC6001BA2319900009AC6001
4BA2319900009PL50010BA2319900009BA
5BA2308200035PL50010BA2319900009PL50010
6BA1319900014AC6001BA2319900009BA
7BA1319900014AC6001BA1319900014AC6001
8BA1319900014AC13265BA1319900014BA
9BA2319200059AC5002BA1319900014AC6001
10BA2319200059AC5002BA1319900014BA
11BA2319100023AC6001BA1319900014AC13265
12BA2319100023PL60705BA1319900014BA
13BA2319100023AC6001BA2319200059AC5002
14BA2319100023AC6001BA2319200059BA
15BA2119700024PL50010BA2319200059AC5002
16BA2119700024AC6001BA2319200059BA
17BA2119700024AC13265BA2319100023AC6001
18BA2119700020PL50010BA2319100023BA
19BA2119700020AC13265BA2319100023PL60705
20BA2316500054AC6001BA2319100023AC6001
21BA2316500054AC6001BA2319100023AC6001
22BA2316500054AC6001BA2319100023BA
23BA2316500054PL60705BA2119700024PL50010
24BA2316500054AC13265BA2119700024BA
25BA2316500054PL50000BA2119700024AC6001
26BA2318500001AC6001BA2119700024BA
27BA2318500001PL60705BA2119700024AC13265
28BA2318500001AC6001BA2119700024BA
29BA2318500001AC6001BA2119700020PL50010
30BA2318500001AC13265BA2119700020BA
31BA2317000050AC6001BA2119700020AC13265
32BA2317000050PL60780BA2119700020BA
33BA2317000050AC6001BA2119700020BA
34BA2317000050AC6001BA2119700020BA
35BA2119700020BA
36BA2119700020BA
37BA2316500054AC6001
38BA2316500054BA
39BA2316500054AC6001
40BA2316500054BA
41BA2316500054AC6001
42BA2316500054PL60705
43BA2316500054AC13265
44BA2316500054BA
45BA2316500054PL50000
46BA2316500054BA
47BA2318500001AC6001
48BA2318500001BA
49BA2318500001AC6001
50BA2318500001BA
51BA2318500001AC6001
52BA2318500001PL60705
53BA2318500001AC13265
54BA2318500001BA
55BA2317000050AC6001
56BA2317000050BA
57BA2317000050AC6001
58BA2317000050BA
59BA2317000050AC6001
60BA2317000050PL60780
61BA2317000050BA
62BA2317000050BA
Sheet1


Thank in advance for your support.
Best regards,
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,622
Messages
6,125,886
Members
449,269
Latest member
GBCOACW

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