Forum Discussion
How to count the total value of unique items
This is almost perfect, but would there be any way to count only the last instead of the first? I could possibly reverse sort the entries but if the formal could account for it that would be better.
But I was able to get the formula and pivot table to work in my sheet. Just for example a project may have had an initial estimated value of $50, but then they come back to us later and they are estimating a higher value. Logically, the most recent estimate would be the most accurate info, and I would prefer to be able to tally that entry.
Sure. Just pin the last row instead of the first. In the example above change =IF(COUNTIFS(A$2:A7,A7,B$2:B7,B7)>1,"Duplicate","First") which pinned row 2 to
=IF(COUNTIFS(A7:A$16,A7,B7:B$16,B7)>1,"Duplicate","Last") where the last row is row 16.