Index & Match Help.

scliollio

New Member
Joined
Feb 22, 2017
Messages
6
If someone could help me on the below scenario, that would be greatly appreciated!

I have a list of locations that either pass or fail based on criteria. I have the pass/fail setup. Now I need a formula that will list me all of the locations which failed.

I have a formula that will run through the list and give me the first one that fails, but I cannot figure out how to make it continue searching through and list all.

My formula: =INDEX($A$6:$D$52,MATCH("OOT",$D$6:$D$52,0),1)

This actual list contains ~50 locations, typically 8 or so "fail". So I'm looking for basically all that fail in a column in consecutive rows.
[TABLE="width: 500"]
<tbody>[TR]
[TD]LOCATION[/TD]
[TD]Criteria 1[/TD]
[TD]Criteria 2[/TD]
[TD]Pass/Fail[/TD]
[/TR]
[TR]
[TD]Alabama[/TD]
[TD]10[/TD]
[TD]0.02[/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD]Texas[/TD]
[TD]17[/TD]
[TD]0.15[/TD]
[TD]Pass[/TD]
[/TR]
[TR]
[TD]California[/TD]
[TD]9[/TD]
[TD]0.18[/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD]Utah[/TD]
[TD]1[/TD]
[TD]0.09[/TD]
[TD]Pass[/TD]
[/TR]
[TR]
[TD]New York[/TD]
[TD]3[/TD]
[TD]0.20[/TD]
[TD]Pass[/TD]
[/TR]
[TR]
[TD]Alaska[/TD]
[TD]4[/TD]
[TD]0.11[/TD]
[TD]Fail[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
This is an array formula and must be entered with CTRL-SHIFT-ENTER.
Drag formula down as needed.
Excel Workbook
ABCD
1LOCATIONCriteria 1Criteria 2Pass/Fail
2Alabama100.02Fail
3Texas170.15Pass
4California90.18Fail
5Utah10.09Pass
6New York30.2Pass
7Alaska40.11Fail
8
9Failed
10Alabama
11California
12Alaska
13
Sheet
 
Upvote 0
I'm doing this for a rolling 12, and would have to create 12 pivot tables and constantly create a new pivot table each month, which is no big deal, but a formula would look much more clean.
 
Upvote 0
Or maybe add a column with a Year#/Month# value and pivot... I always try to avoid array calcs because they're slow and confusing to nearly everyone -- sorry if I misunderstood your request.
 
Upvote 0

Forum statistics

Threads
1,223,975
Messages
6,175,746
Members
452,667
Latest member
vanessavalentino83

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