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: 7
  • Capture2.PNG
    Capture2.PNG
    20.8 KB · Views: 7

Some videos you may like

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
52,934
Office Version
  1. 365
Platform
  1. Windows
What version of Excel are you using?
Please update you account details to show this, as it affects which functions you can use.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
52,934
Office Version
  1. 365
Platform
  1. Windows
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))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,516
Messages
5,596,617
Members
414,081
Latest member
Subaru_Steve

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
Top