If range values exist in cell, then... how?

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
186
Hi,

Sheet 1/Column A: Invoice description + supplier name
Sheet 2/Column A: Supplier list

If any of the names in the supplier list (range) match with the (cell) value in column A, I want that to retrieve that name to Sheet 1/Column B. The opposite would be much easier but the problem is that values in sheet 1/Column A may look like this "9935676747/33 44 5-55 66 McDonald's", "Starbucks 445-1 Coff.", "McDnl 111" or "993-1 KFC", no standard on setup of numbers, length of text string etc.

Suggestions?
 
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
How about
=INDEX(Sheet2!$B$2:$B$100,MATCH(1,--(ISNUMBER(SEARCH(Sheet2!$A2:$A$100,A2))),0))

Confirmed with Ctrl Shift Enter
 
Upvote 0
Sorry I forgot to mention that in the supplier list, only name appears, no numbers. On the other hand, the invoice description includes a lot of numbers etc. and the name might not be an exact match to the one in the list. McDonald's in the supplier list might be "McDon", "Mc Donalds", "McDnlds" in the invoice description.
 
Upvote 0
In that case you'll need to sort out your data.
Failing that you will need some sort of Fuzzy lookup, there are some add-ins available on the net that may help.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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