Hi,
I am comparing the signs of rows in 2 columns. If the sign is different, I want to multiply the 2nd column by (-1). I have the code below, but it is not working.
I am comparing the signs of rows in 2 columns. If the sign is different, I want to multiply the 2nd column by (-1). I have the code below, but it is not working.
Code:
For k = 2 to k
If sgn(k,"O")<>sgn(k,"P") then range("P"&k)*(-1)
Next k
End If