Index / Match ?? Not sure.....

WGarrison

Board Regular
Joined
Sep 9, 2008
Messages
52
This is probably a very simple request, but I am stumped. Hopefully someone can lend a hand.

On a main data sheet, I have a populated row of data (header). Below the header, I have certain cells populated with data. I want to do a look up on a separate sheet and match the 'header' and return the populated data below it. Is this possible?

Ex: [TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]AAA[/TD]
[TD]BBB[/TD]
[TD]CCC[/TD]
[TD]DDD[/TD]
[TD]EEE[/TD]
[TD]FFF[/TD]
[/TR]
[TR]
[TD]Blue[/TD]
[TD][/TD]
[TD]Silk[/TD]
[TD][/TD]
[TD]Black[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Hot[/TD]
[TD]Stinky[/TD]
[TD]Cold[/TD]
[TD][/TD]
[TD]Warm[/TD]
[/TR]
</tbody>[/TABLE]

Results I am looking for:
AAA = Blue
BBB = Hot
CCC = Silk, Stinky
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Results I am looking for:
AAA = Blue
BBB = Hot
CCC = Silk, Stinky
Should those blue results be in a single cell or two cells?
If two cells would those two cells be across a row or above/below each other in a column?
 
Upvote 0
Those blue results should be in separate cells. Preferably a column. One below the other.
OK, see if this works for you.


Excel 2016
ABCDEF
1AAABBBCCCDDDEEEFFF
2BlueSilkBlack
3HotStinkyColdWarm
4
Data



Formula in A2 is copied across and down


Excel 2016
ABCDEF
1AAABBBCCCDDDEEEFFF
2BlueHotSilkColdBlackWarm
3Stinky
4
5
Summary
Cell Formulas
RangeFormula
A2=IFERROR(INDEX(Data!A$2:A$100,AGGREGATE(15,6,ROW(Data!A$2:A$100)-ROW(Data!A$2)+1/(Data!A$2:A$100<>""),ROWS(A$2:A2))),"")
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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