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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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,128
Messages
6,123,204
Members
449,090
Latest member
bes000

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