Finding the negative number from 2 cells

dalypen

New Member
Joined
Jan 25, 2016
Messages
22
how to display the negative number in cell C2 from cell A2 and B2 and A3 and B3 ect
example A2 B2 C2
23 34 -10
27 17 -10
12 13 -1
22 20 -2
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
i would do
ABS(A2-B2)*-1
but is suspect an easier way

ABS() will result in a positive number regardless if + or -
and then multiply by -1
always give a minus result

BUT , i assume a typo
23 34 -10
= -11
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,852
Members
449,096
Latest member
Erald

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top