Active Member
April 2, 2020
In the attached file i have column A with PO#, Column B with PO Total Amount, in Column C i need a PO amount to be 1000 only for PO- A instead of repeating the same 1000 on every line item. Every line item has different paid amount and other information. Once I have unique 1000 for PO A and 500 for PO B i will then use them in a Pivot. Can you suggest a formula which i can apply on Column A to get unique values in Column C.
Trusted Members
December 20, 2019
Active Member
April 2, 2020
PO means purchase order, unfortunately this is how information comes from our ERP system. Purchase order amount which is $1000 and then some line item activity like payment, payment date, invoice date and lots of other information then again on line 2 i have the same PO amount $1000 which makes it $2000(1000+1000) and again i have repeated 1000 on lines to follow which if I make a pivot would give me $10,000 vs $1000 original PO amount. That's the reason i want to fix this column in a new column where i have only one unique value of 1000 in the whole column for PO - A. and other value would remain blank. Attached is how i want my column to appear.
Thanks
VIP
Trusted Members
December 7, 2016
Active Member
April 2, 2020
Hi,
It's a temporary solution and would only work if the column is sorted alphabetically. For instance if there is PO C in between or PO A is repeated twice in other lines it would repeat the value of PO A which makes it a double count. I remember i had a similar issue few years ago and i fixed it by combining match and vlookup but not getting the logic again 🙂 Please refer to the attachment.
Thanks much
VIP
Trusted Members
December 7, 2016
Hello Muhammad,
I don't really understand why you want to add this extra column, because if you don't want to sum the PO Total Amount column, then don't.
See attached, I have added a Pivot Table. I assume it is the paid amount you want to sum, as that is what is left to sum.
With that said, try this formula instead, paste it in cell C2.
=IF(COUNTIF($A$2:$A2,$A2)>1,"",$B2)
Br,
Anders
Answers Post
1 Guest(s)