Vlookup Help to find a matching value

snow

New Member
Joined
Feb 28, 2012
Messages
2
Hi,
I have worksheet 1 with a list of companies and worksheet 2 with a list of companies by rank (column A has the rank and column B has the company names).

I would like see which companies from worksheet 1 are in the company rankings of worksheet 2, and return the rank number to worksheet 1.

Thanks!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi...

Welcome to the Board....

If you can change the sheet 2 column from B to A then try this...

=VLOOKUP(A1,Sheet2!A:B,2,FALSE)

Drag down till your range is set...
 
Upvote 0
If you cannot (or don't want to) rearrange the rows you can use the following

pasted in B1 of Worksheet 2 and dragged down.
=INDEX('Worksheet 1'!A:A,MATCH('Worksheet 2'!A1,'Worksheet 1'!B:B,0),1)

This will return the rank if the company is in Worksheet 1 or it will return #N/A if not.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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