Lookup from block of data - return from set column

PaulyH

New Member
Joined
Feb 27, 2009
Messages
49
Hi

I'm trying to look up data from a table of data (multiple rows and columns) and when that data is found I want to return the data in column A on the line that data is found to column B (in green) on another sheet. I have highlighted the column in green, in yellow is the example. 'South Hams' would be what would be returned to cell C6.
 

Attachments

  • Capture.PNG
    Capture.PNG
    62.5 KB · Views: 32
  • Capture2.PNG
    Capture2.PNG
    20.8 KB · Views: 32

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
What version of Excel are you using?
Please update you account details to show this, as it affects which functions you can use.
 
Upvote 0
If you are using 2010 or newer, try
Excel Formula:
=INDEX(Sheet2!$A$2:$A$200,AGGREGATE(15,6,(ROW(Sheet2!$A$2:$A$200)-ROW(Sheet2!$A$2)+1)/(Sheet2!$B$2:$I$200=B2),1))
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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