Copy Data From Book1 to Book2 if Columns A & B fuzzy-match.

OlderMan

New Member
Joined
Aug 28, 2016
Messages
9
I have two books, Book1(CA) and Book2(CAC).
Columns A and B of each book have the same data but not necessarily on the same row.
Column A = "Trial Date" Column B = "Hosting Club" in each book.
"Hosting Club" name in CA may not be spelled exactly the same or use upper case characters like in CAC.

CAC has 3 columns of data, C"Approver", D"Designer" , E"CAT No." that I want to copy into CA columns C D E with the same name.

CAC has a table so it can be sorted by any column. A row in CAC can only be used once.
I tried using VLOOKUP and then formula in CA C2
=IF(COUNTIF(A2:B500,B2)+COUNTIF(CAC!A2:B500,B2),CAC!C2,0)
This was closest I got to it working. But if I use the table in CAC to sort a column it all gets messed up.

If this isn't clear I can show it by creating two tables.

Thanks, Bob
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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