Hello all,
This is my first post (hooray!). I have an array formula that extracts a unique list from another column; however, I would like to ignore a specific value and it not populate the cell. For instance:
D
10| XXXXXXXX406
11| XXXXXXXX400
12| Lunch
13| XXXXXXXX933
14| XXXXXXXX400
K
10|
11| XXXXXXXX406
12| XXXXXXXX400
13| XXXXXXXX933
14|
The array formula I have in cell K11 is as follows:
=IF(IFERROR(INDEX($D$10:$D$25,MATCH(0,COUNTIF($K$10:K10,$D$10:$D$25),0)),"")=0,"",IFERROR(INDEX($D$10:$D$25,MATCH(0,COUNTIF($K$10:K10,$D$10:$D$25),0)),""))
If D10:D25 has a value of "Lunch", I would like it to be excluded. I have tried to use the IF function to accomplish this, and it kind of works. However, any values in cells below the instance of "Lunch" is also excluded. For instance:
D
10| XXXXXXXX406
11| XXXXXXXX400
12| Lunch
13| XXXXXXXX933
14| XXXXXXXX400
K
10|
11| XXXXXXXX406
12| XXXXXXXX400
13|
14|
I would like to keep the cell empty if there is no new unique cells, and "Lunch" is excluded.
Thank you in advance for all of your help. I look forward to seeing what the bunch of smart people on this forum comes up with.
Cheers,
Mateo315
Bookmarks