populate cells with data from another sheet

MarkoBrit

New Member
Joined
Mar 6, 2019
Messages
12
Hi. I have a sheet that has company names and a code. I want to match that code next to the company name in a different sheet, the problem is the company name in each sheet may differ for example " Coca Cola Ltd in one sheet and just "Coca Cola in the other. Is there any way I can automate it other than doing a VLOOKUP
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You can do partial matches with VLOOKUP by adding a wildcard character, e.g.
Excel Formula:
=VLOOKUP(A1&"*",Sheet2!A:B,2,0)
In your example, if A1 was "Coca Cola", it would find a match to either "Coca Cola" or "Coca Cola Ltd" or "Coca Cola Inc". You couldn't do the reverse, though, meaning if A1 was "Coca Cola Ltd", it could not find just "Coca Cola" in the search list. Using fuzzy logic for matching is generally quite a bit more complex than this.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,103
Messages
6,123,108
Members
449,096
Latest member
provoking

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