Index and Match to exclude certain values

plotting

New Member
Joined
Jun 13, 2016
Messages
21
[TABLE="width: 500"]
<tbody>[TR]
[TD]Position[/TD]
[TD]Target[/TD]
[/TR]
[TR]
[TD]QB[/TD]
[TD]Fade
[/TD]
[/TR]
[TR]
[TD]RB[/TD]
[TD]Fade[/TD]
[/TR]
[TR]
[TD]WR1[/TD]
[TD]Nelson Agholor[/TD]
[/TR]
[TR]
[TD]WR2[/TD]
[TD]Fade[/TD]
[/TR]
[TR]
[TD]WR3[/TD]
[TD]Fade[/TD]
[/TR]
[TR]
[TD]TE[/TD]
[TD]Zach Ertz[/TD]
[/TR]
[TR]
[TD]QB[/TD]
[TD]Fade[/TD]
[/TR]
[TR]
[TD]RB[/TD]
[TD]Alex Collins[/TD]
[/TR]
[TR]
[TD]WR1[/TD]
[TD]Fade[/TD]
[/TR]
[TR]
[TD]WR2[/TD]
[TD]Fade[/TD]
[/TR]
[TR]
[TD]WR3[/TD]
[TD]Fade[/TD]
[/TR]
[TR]
[TD]TE[/TD]
[TD]Fade[/TD]
[/TR]
</tbody>[/TABLE]


I have the following data, on another sheet I want to pull all the names in column B <> "Fade"
I was trying an array formula like this: =IF(ISERROR(SMALL(IF($B$2:$B$13<>"Fade",ROW($A$2:$A$13)),ROW())),"",INDEX($B$2:$B$13,SMALL(IF($B$2:$B$13<>"Fade",ROW($A$2:$A$13)),ROW())-1)) but I just can't get it to work. Any help would be appreciated.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Like this?

Excel Workbook
ABCD
1PositionTargetNot Fade
2QBFadeNelson Agholor
3RBFadeZach Ertz
4WR1Nelson AgholorAlex Collins
5WR2Fade
6WR3Fade
7TEZach Ertz
8QBFade
9RBAlex Collins
10WR1Fade
11WR2Fade
12WR3Fade
13TEFade
List
 
Last edited:
Upvote 0
Like this?

List

ABCD
PositionTarget Not Fade
QBFade Nelson Agholor
RBFade Zach Ertz
WR1Nelson Agholor Alex Collins
WR2Fade
WR3Fade
TEZach Ertz
QBFade
RBAlex Collins
WR1Fade
WR2Fade
WR3Fade
TEFade

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:79px;"><col style="width:133px;"><col style="width:23px;"><col style="width:122px;"></colgroup><tbody>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]2[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]3[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]4[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]5[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]6[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]7[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]8[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]9[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]10[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]11[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]12[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=cacaca]#cacaca[/URL] , align: center"]13[/TD]

</tbody>

Spreadsheet Formulas
CellFormula
D2=IFERROR(INDEX(B$2:B$13,AGGREGATE(15,6,(ROW(B$2:B$13)-ROW(B$2)+1)/(B$2:B$13<>"Fade"),ROWS(D$2:D2))),"")

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

Excel genius again! That worked like a charm, thanks a ton, going to have to learn aggregate more and start using that
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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