ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Formula for difference between numbers without + or- (https://www.excelbanter.com/new-users-excel/163144-formula-difference-between-numbers-without.html)

ParvenuJohn

Formula for difference between numbers without + or-
 
I'm fairly new to Excel. I want to create a formula to show the difference
between 2 numbers, in different columns, but without positive or negative
values.
eg. the difference between 1 and 7 is 6. The difference between 7 and 1 is 6.

I do NOT want to see the result as -6 and 6.

Imagine the cells are A3 and B3, for these numbers.

How do I do this please?


Niek Otten

Formula for difference between numbers without + or-
 
=ABS(A1-B1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"ParvenuJohn" wrote in message ...
| I'm fairly new to Excel. I want to create a formula to show the difference
| between 2 numbers, in different columns, but without positive or negative
| values.
| eg. the difference between 1 and 7 is 6. The difference between 7 and 1 is 6.
|
| I do NOT want to see the result as -6 and 6.
|
| Imagine the cells are A3 and B3, for these numbers.
|
| How do I do this please?
|



Ron Rosenfeld

Formula for difference between numbers without + or-
 
On Tue, 23 Oct 2007 03:56:00 -0700, ParvenuJohn
wrote:

I'm fairly new to Excel. I want to create a formula to show the difference
between 2 numbers, in different columns, but without positive or negative
values.
eg. the difference between 1 and 7 is 6. The difference between 7 and 1 is 6.

I do NOT want to see the result as -6 and 6.

Imagine the cells are A3 and B3, for these numbers.

How do I do this please?


=abs(a1-a2)
--ron

Soundar

Formula for difference between numbers without + or-
 
=ABS(A3-B3)

Regards,
Soundar.

"ParvenuJohn" wrote:

I'm fairly new to Excel. I want to create a formula to show the difference
between 2 numbers, in different columns, but without positive or negative
values.
eg. the difference between 1 and 7 is 6. The difference between 7 and 1 is 6.

I do NOT want to see the result as -6 and 6.

Imagine the cells are A3 and B3, for these numbers.

How do I do this please?


ParvenuJohn

Formula for difference between numbers without + or-
 
Thanks everyone - I think I now have the basic formula, which is "ABS" I will
try it.

Thanks again

ParvenuJohn

"Soundar" wrote:

=ABS(A3-B3)

Regards,
Soundar.

"ParvenuJohn" wrote:

I'm fairly new to Excel. I want to create a formula to show the difference
between 2 numbers, in different columns, but without positive or negative
values.
eg. the difference between 1 and 7 is 6. The difference between 7 and 1 is 6.

I do NOT want to see the result as -6 and 6.

Imagine the cells are A3 and B3, for these numbers.

How do I do this please?



All times are GMT +1. The time now is 11:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com