# 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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

#### rikrak

##### Active Member
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

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

=ABS(A1-B1)

Replies
7
Views
138
Replies
1
Views
116
Replies
2
Views
159
Replies
8
Views
154
Replies
1
Views
67

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

1,151,589
Messages
5,765,311
Members
425,272
Latest member
Umba

### 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