Dynamic Lookups

hitdave85

New Member
Joined
Jun 11, 2013
Messages
30
Name
Area 1
Area 2
Area 3
Area 4
Area 5
Area 6
Area 7
Area 8
John
Y
N
Y
Y
N
N
N
N
Brad
Y
N
N
Y
Y
N
N
N
Nate
N
N
N
Y
Y
N
N
N
Luke
N
Y
N
N
N
N
N
N
Mark
Y
N
N
N
N
N
N
N

<tbody>
</tbody>

Hello,

I am looking to drag down dynamic formulas (instead of VBA coding) which displays only results for 'Y'. The results would look like the following:

Area 1
John
Area 3
John
Area 4
John
Area 1
Brad
Area 4
Brad
Area 5
Brad
Area 4
Nate
Area 5
Nate
Area 2
Luke
Area 1
Mark

<tbody>
</tbody>

Any ideas?

Thanks!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try:


ABCDEFGHIJKLM
1NameArea 1d>Area 2Area 3Area 4Area 5Area 6Area 7Area 8AreaName
2JohnYNYYNNNNArea 1John
3BradYNNYYNNNArea 3John
4NateNNNYYNNNArea 4John
5LukeNYNNNNNNArea 1Brad
6MarkYNNNNNNNArea 4Brad
7Area 5Brad
8Area 4Nate
9Area 5Nate
10Area 2Luke
11Area 1Mark
12

<tbody>
</tbody>
Sheet9

Array Formulas
CellFormula
K2{=IFERROR(INDEX($B$1:$I$1,MOD(SMALL(IF($B$2:$I$6="y",ROW($B$2:$I$6)*1000+COLUMN($B$2:$I$6)),ROWS($K$2:$K2)),1000)-COLUMN($B$2)+1),"")}
L2{=IFERROR(INDEX($A$2:$A$6,SMALL(IF($B$2:$I$6="y",ROW($B$2:$I$6)-ROW($B$2)+1),ROWS($L$2:$L2))),"")}

<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>
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,678
Members
449,179
Latest member
fcarfagna

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