# positive

#### drchit

##### New Member
how do i keep the difference between two numbers always positive?
e.g
24-36= -12 (how do i change -12 to +12?)

### Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
On 2002-08-29 05:24, drchit wrote:
how do i keep the difference between two numbers always positive?
e.g
24-36= -12 (how do i change -12 to +12?)

abs(-12)=12

Put otherwise, wrap ABS around of your difference formula... e.g.,

=ABS(A1-B1)

Replies
5
Views
166
Replies
6
Views
244
Replies
1
Views
238
Replies
1
Views
454
Replies
0
Views
144

1,218,625
Messages
6,143,570
Members
450,493
Latest member
Woejeber

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back