I need help on a formula and I'm not sure how to even start. I want to compile a list of all open PO's but the issue I'm running into my data contains several line items from each open PO. So I cannot do a standard sumif based on PO number. I'm thinking the best way is to add a column to the query which will display a 1 for the first time a PO number shows up in the query then a 0 for each subsequent time it shows. Then I can do a sum if base don that column. Does anyone have an idea on the based way to build this formula. I've showing a very condensed version of data below for display purposes.
1 PO Line Date Val
2 P36 1 17-Jan
3 P36 2 17-Feb
4 P36 3 17-Mar
5 P36 4 17-Mar
6 P37 1 17-Feb
7 P37 2 17-Feb
8 P38 1 17-Mar
9 P39 1 17-Mar
10 P40 1 17-Apr
11 P41 1 17-Feb
12 P41 2 17-Jan
13 P41 3 17-Feb
14 P41 4 17-Jan
Bookmarks