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.
LOCATIONCriteria 1Criteria 2Pass/Fail
Alabama100.02Fail
Texas170.15Pass
California90.18Fail
Utah10.09Pass
New York30.20Pass
Alaska40.11Fail

<tbody>
</tbody>
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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,217,385
Messages
6,136,277
Members
450,001
Latest member
KWeekley08

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