Match two lists

PeterTaylor

Board Regular
Joined
Aug 5, 2010
Messages
158
Dear all,
I am running excel 2013. I have two lists; List 1 has duplicates and semi-duplcates eg
Code:
[TABLE="class: grid, width: 335, align: left"]
<tbody>[TR]
[TD]PAYMENT TO CGU INSURANCE    124C00598050435331[/TD]
[/TR]
[TR]
[TD]BOULDER TRADING POST BOULDER[/TD]
[/TR]
[TR]
[TD]BP GOLDENGATE 1896 \KALGOORLIE        AU[/TD]
[/TR]
[TR]
[TD]BUNNINGS 435000 KALGOORLIE[/TD]
[/TR]
[TR]
[TD]BPAY SYNERGY                       {392306}[/TD]
[/TR]
[TR]
[TD]TELSTRA PAYBYPHONE MELBOURNE[/TD]
[/TR]
[TR]
[TD]BPAY TELSTRA BILL PAYME            {381204}[/TD]
[/TR]
[TR]
[TD]SUPER CHEAP AUTO KALGOORLIE[/TD]
[/TR]
</tbody>[/TABLE]

List 2 has unique records eg:


Code:
[TABLE="class: grid, width: 335, align: left"]
<tbody>[TR]
[TD]Boulder trading Post[/TD]
[/TR]
[TR]
[TD]BP Golden Gate[/TD]
[/TR]
[TR]
[TD]Bunnings[/TD]
[/TR]
[TR]
[TD]CGU INSURANCE[/TD]
[/TR]
[TR]
[TD]Synergy[/TD]
[/TR]
[TR]
[TD]Telstra[/TD]
[/TR]
</tbody>[/TABLE]
I want to scan list 1 with list 2 and if a match or partial match is found populate the adjcent cell in list 1 with the value from list 2; if no match is found copy the value in list 1 to the adjacent cell. eg:
Code:
 [TABLE="class: grid, width: 700, align: left"]
<tbody>[TR]
[TD]PAYMENT TO CGU INSURANCE    124C00598050435331[/TD]
[TD]CGU INSURANCE[/TD]
[/TR]
[TR]
[TD]BOULDER TRADING POST BOULDER[/TD]
[TD]Boulder trading Post[/TD]
[/TR]
[TR]
[TD]BP GOLDENGATE 1896 \KALGOORLIE        AU[/TD]
[TD]BP Golden Gate[/TD]
[/TR]
[TR]
[TD]BUNNINGS 435000 KALGOORLIE[/TD]
[TD]Bunnings[/TD]
[/TR]
[TR]
[TD]BPAY SYNERGY                       {392306}[/TD]
[TD]Synergy[/TD]
[/TR]
[TR]
[TD]TELSTRA PAYBYPHONE MELBOURNE[/TD]
[TD]Telstra[/TD]
[/TR]
[TR]
[TD]BPAY TELSTRA BILL PAYME            {381204}[/TD]
[TD]Telstra[/TD]
[/TR]
[TR]
[TD]SUPER CHEAP AUTO KALGOORLIE[/TD]
[TD]SUPER CHEAP AUTO KALGOORLIE[/TD]
[/TR]
</tbody>[/TABLE]
thank you in advnce for your assistance.
Regards,
Peter
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,203,069
Messages
6,053,352
Members
444,655
Latest member
didr

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