SubArray - Additional criteria

Krash7000

New Member
Joined
Mar 10, 2015
Messages
19
Hi All,

I have a subarray formula (copied from the internet and adapted), and I essentially want to add another criteria into it and don't know how.

Its an action list, and I want to have it so if "Complete" is in column K, then don't pull it through. I am not sure if it is possible, but below is the current formula I have.

=IFERROR(INDEX(List!$C$3:$C$20000,SMALL(IF(List!$G$3:$G$20000=$D$2,ROW(List!$C$3:$C$20000)-ROW(List!$C$3)+1),ROWS(List!$C$3:List!C3))),"")

Sorry it's a bit vague, but I don't understand it enough to be more specific.

Thanks in advance for any help that can be offered.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
......I want to have it so if "Complete" is in column K, then don't pull it through....

If I get you right then you can add another IF that checks that column K isn't complete, e.g. like this:

=IFERROR(INDEX(List!$C$3:$C$20000,SMALL(IF(List!$G$3:$G$20000=$D$2,IF(List!$K$3:$K$20000<>"Complete,ROW(List!$C$3:$C$20000)-ROW(List!$C$3)+1)),ROWS(List!$C$3:List!C3))),"")

You can add more conditions in the same way but you also need an extra closing parenthesis for each
 
Upvote 0
That worked perfectly. Exactly what I needed it to do.

Thanks very much Barry! Much appreciated.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,897
Members
449,097
Latest member
dbomb1414

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