Dear experts,
I have random securities in column B with a respective value in column C. I want to calculate the profit I made if I sell the security. However, I only sell if the security in column B changes in the following row. Otherwise I hold the security and the profit is zero (or empty...