Need help with a formula =if(A1<=90,A1+90,A1-90)

=if(A1<=90,A1+90,A1-90)

using this formula - 90 +90 =0 and 90-90 = 0 , I want to have the answers = 180 ,
so 90+90 = 180 , and 90-90 = 180 , As I cant use 0 as a figure

Any ideas?

u can use abs function

=IF(A1<=90,ABS(A1)+90,ABS(A1)-90)