Lookup entire sheet return value in column below

aki333

New Member
Joined
Oct 18, 2018
Messages
2
I need help to figure out how to best do this. Tried to search it and didn't see anything that works exactly. Here is what I want to do.

I want to vlookup/or hlookup into a different sheet (Bottom table is what that sheet should look like) where the value is in different column and rows and return the number underneath the lookup value.

The only way I can think of is by using combo of iferror and hlookup formula, but the formula can get very long since the actual data set I am working with is pretty large. Anyway I can do this another way?

not sure if I am explaining this correctly! Thanks for your help in advance

LookupValueReturn Value
Apple??Formula
Plum??Formula

<tbody>
</tbody>






AppleOrangePear
102030
PlumMelonGrape
304020

<tbody>
</tbody>
 

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
8,996
Welcome to the forum.

If the data you're looking to return is numeric, then try:

ABCDEF
1AppleOrangePearLookupValueReturn Value
2102030Apple10
3PlumMelonGrapePlum30
4304020

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Array Formulas
CellFormula
F2{=IFERROR(SMALL(IF(Sheet1!$A$1:$C$3=E2,Sheet1!$A$2:$C$4),1),"No match")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>



If not numeric, it's tougher, but it can be done a different way.
 

Forum statistics

Threads
1,082,359
Messages
5,364,916
Members
400,815
Latest member
Joaquin Phoenix

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top