I have 3 columns - Column A (Vendor), Column B(PO#), Column C(Product Line). I am trying to weed out PO's that meet certain criteria. As long as all of the DROP lines for a given PO have the same VENDOR it can be deleted. So if the VENDOR is the same for ALL DROP lines on a PO, I can disregard that PO all together regardless of the MISC lines. Is there a formula to show these matches? Below is an example with the desired outcome in column D.
COLUMN A | COLUMN B | COLUMN C | COLUMN D |
VENDOR | PO# | PRODUCT LINE | |
CONTIXO | 2401242 | DROP | DISCARD |
CONTIXO | 2401242 | DROP | DISCARD |
CONTIXO | 2401242 | DROP | DISCARD |
CONTIXO | 2401242 | DROP | DISCARD |
MATTEL | 2401242 | MISC | DISCARD |
KIDGAL | 2401242 | MISC | DISCARD |
CONTIXO | 2401246 | DROP | KEEP |
WONFOLD | 2401246 | DROP | KEEP |
STANS | 2401253 | DROP | KEEP |
ROYALG | 2401253 | DROP | KEEP |
STANS | 2401253 | MISC | KEEP |