SubArray - Additional criteria

Krash7000

New Member
Joined
Mar 10, 2015
Messages
15
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.
 

Some videos you may like

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
......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
 

Krash7000

New Member
Joined
Mar 10, 2015
Messages
15
That worked perfectly. Exactly what I needed it to do.

Thanks very much Barry! Much appreciated.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,158
Messages
5,600,054
Members
414,357
Latest member
Gemma_R

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
Top