Index and Match to exclude certain values

plotting

New Member
Joined
Jun 13, 2016
Messages
21
PositionTarget
QBFade
RBFade
WR1Nelson Agholor
WR2Fade
WR3Fade
TEZach Ertz
QBFade
RBAlex Collins
WR1Fade
WR2Fade
WR3Fade
TEFade

<tbody>
</tbody>


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

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
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
1PositionTarget Not Fade
2QBFade Nelson Agholor
3RBFade Zach Ertz
4WR1Nelson Agholor Alex Collins
5WR2Fade
6WR3Fade
7TEZach Ertz
8QBFade
9RBAlex Collins
10WR1Fade
11WR2Fade
12WR3Fade
13TEFade

<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>
</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,214,591
Messages
6,120,429
Members
448,961
Latest member
nzskater

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