Hello,
I have two columns of data and I would like to be able to calculate the difference between the two. So I want Column C to show me whether the data in Column A is higher or lower than the data in Column B and by how much.
As it stands, I have applied this formula to Column C: =ABS(A2-B2)
However, this doesn't tell me which cell has the higher number, just the difference between the two. I want it so that if A is 5 and B is 4, then C shows as -1. If, however, A is 5 and B is 6, I want C to show as 1 (or +1 but Excel doesn’t like that!).
Is there a way of doing this?
Any help would be much appreciated. As you can probably tell from the way I have worded this, I am not naturally mathematical! And this is part of the reason I can’t find the answer: I don’t know the terms for what I want to do.
Thanks in advance!