Hi
I have the following data:
ColumnA. Column B
Buy 3
Sell -2
Buy 4
Sell -6
I have created a Sumif function as follows:
Sumif(a:a, “Buy”, b:b) - sumif(a:a, “Sell”, b:b)
However , it doesn’t provide me with the correct net amount as the sells are negative values
Is there away I can you the ABS function in the sell formula to get me the result? Or is there a better formula altogether?
Thanks
I have the following data:
ColumnA. Column B
Buy 3
Sell -2
Buy 4
Sell -6
I have created a Sumif function as follows:
Sumif(a:a, “Buy”, b:b) - sumif(a:a, “Sell”, b:b)
However , it doesn’t provide me with the correct net amount as the sells are negative values
Is there away I can you the ABS function in the sell formula to get me the result? Or is there a better formula altogether?
Thanks