VLOOKUP Help

pandyav

New Member
Joined
Jun 18, 2010
Messages
10
Can someone please help with this?

I have data in two separate worksheets:

Worksheet A: Column A has 'Mayo Medical Labs'
Worksheet B: Column A has 'Mayo medical labs Incorporated'

I only want to match the first word between the cells in worksheet A and B.
Is there a way to add 'Mayo medical labs Incorporated' in column B in Worksheet A by using VLOOKUP.

Appreciate your help in advance.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Can someone please help with this?

I have data in two separate worksheets:

Worksheet A: Column A has 'Mayo Medical Labs'
Worksheet B: Column A has 'Mayo medical labs Incorporated'

I only want to match the first word between the cells in worksheet A and B.
Is there a way to add 'Mayo medical labs Incorporated' in column B in Worksheet A by using VLOOKUP.

Appreciate your help in advance.
Try...

=VLOOKUP(LEFT(A2,FIND(" ",A2)-1)&"*",'Worksheet B'!A:A,1,0)
 
Upvote 0
Try

=INDEX('SheetB'!A:A,MATCH(LEFT(A2,FIND(" ",A2)-1),'SheetB'!A:A,0))

adjust sheetnames and references to suit.

You will get #N/A if first word not found in any first word of SheetB cells.

If you have XL2007 or later, you can use IFERROR() to return blanks instead of errors

=IFERROR(INDEX('SheetB'!A:A,MATCH(LEFT(A2,FIND(" ",A2)-1),'SheetB'!A:A,0)),"")... else...

=IF(ISNUMBER(MATCH(LEFT(A2,FIND(" ",A2)-1),'SheetB'!A:A,0)),
INDEX('SheetB'!A:A,MATCH(LEFT(A2,FIND(" ",A2)-1),'SheetB'!A:A,0)),"")
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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