You did not say what should happen if I4 equal 0, but give this a try...IF I4 is positive than i want to subtract I4-J4 but if I4 is negative than add I4+J4?
The formula is adding when there a positive number in I4 but when there a negative number, it still adding instead of subtracting.
I4----J4 Result
100---50 -----> 100 - 50 = 50
0---50 ---> 0 + 50 = 50
-100---50 ---> - 100 - 50 = -150