Looking for a formula to look up based on Column and Row but with different sized arrays

thekaoboy

New Member
Joined
Sep 7, 2006
Messages
48
For example, in the below table, I would like a formula that would return "Mary" for Green 3, or "Jane" for Red 5. You sunk my battleship! :)

I tried a combination of HLOOKUP, VLOOKUP, INDEX, and MATCH but I get tripped up because the row arrays are different sizes.

Thanks all.

NameColor12345
JaneRedx
TomRedxxx
SamBluexxxxx
LisaGreenxx
MaryGreenxx
JaneGreenx
LisaYellowxx
GaryYellowxxx
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
How about
+Fluff v2.xlsm
ABCDEFGHIJK
1NameColor12345
2JaneRedxGreen3Mary
3TomRedxxxRed5Jane
4SamBluexxxxx
5LisaGreenxx
6MaryGreenxx
7JaneGreenx
8LisaYellowxx
9GaryYellowxxx
10
Log
Cell Formulas
RangeFormula
K2:K3K2=INDEX($A$2:$A$9,AGGREGATE(15,6,(ROW($A$2:$A$9)-ROW($A$2)+1)/($B$2:$B$9=I2)/(INDEX($C$2:$G$9,,J2)="x"),1))
 
Upvote 0

Forum statistics

Threads
1,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

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