0

Help with Filters

 Hello,

In the formula below I'm selecting work orders where the document no. either has a current batch owner equal to a cell value, OR the new batch owner is equal to a cell value.  It works fine, but I need to refine it further.  Each document no. has multiple line nos. where the line nos. can have different owners.  I don't want to include any line nos. from a document no. where the new batch owner is not equal to the cell value or the current batch owner is not equal to the cell value.

=nl("Rows","Posted work order line",,"document no.",nl("Filter","posted work order line","document no.","current batch owner",$C$2),"document no.",nl("Filter","posted work order line","document no.","new batch owner",$C$2))

So if the above formula returns the results below, and I only want rows where the owner is AGVAP, I only want to return Line No. 30000.

Document No. Line No.   Current Batch   Owner New Batch Owner
WO-1800070 10000   SVI001 SVI001
WO-1800070 20000   SVI001 SVI001
WO-1800070 30000   AGVAP AGVAP
WO-1800070 40000   DAO003 DAO003
WO-1800070 50000   SVI001 SVI001

How can I combine the Document No. AND the Line No. into the filter?

2 comments

Please sign in to leave a comment.