I need to subtract the sum of ColumnD values that relate (same row) to each specific ColumnC value from the sum of ColumnB values relating to the same specific value when in ColumnA.
A B C D E F 123 1 123 1 123 output (s/b -3) 123 1 345 2 345 output (s/b -4) 345 2 123 4 567 output (s/b 0) 345 3 567 5 567 5 345 7
In this example I would need the 123's to show -3
, 345's to show -4
, 567's to show 0
. I would then sort and in ColumnE have only the unique number sets with the output showing in ColumnF. I'm open to other suggestions as well! I have been playing around with this for a while and haven't been able to figure it out.
Please try in F2 and copied down: