'Vlookup" for a partial match

BrotherGomez

New Member
Joined
Apr 18, 2012
Messages
14
Hi all,

Currently I have 2 columns of names of companies for which I currently use a VLOOKUP to find a yield percentage for said company, and input it in another column. For example in one sheet I would have the name of the company:

Bob's fridges

Then in another sheet I would have in 2 columns the name of the company and the yield percentage:

Bob's fridges 6.7

For this a vlookup would be fine, however the 2 names of the companies do not allways match, as different programmes input the name in slightly different ways. For example, the first sheet may have:

Alans Cookers(4.3%)

(Where the percentage is part of the company name)

The second sheet has

Alans cooker company 4.3% 10.7


(Note the slightly different name -but it is the same company) Where "Bob's cookers company 4.3%" is all contained in one cell as the company name. My question is this: how do I create a "partial" VLookup to return the 10.7 using the top company name. Please note, the first 5 characters of the company name and the percentage could be used as a unique identifier as they are allways unique, for which I have tried extracting the percentage and 1st 5 letters from each to create a unique "identifier" to compare, but with no avail,

Any help would be great,

Many thanks for your time,

Matt
 

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.
To clarify:

The columns are seperated like this:

"Bobs cooker company 4.3%" *NEW COLUMN* "10.7"

I am looking to extract the 10.7 value
 
Upvote 0
Hi,

That looks good! I was more looking for the name of it more than anything, didnt know what to search for.

Will try and report back,

Matt
 
Upvote 0

Forum statistics

Threads
1,215,519
Messages
6,125,294
Members
449,218
Latest member
Excel Master

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