ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Change negative amount to positive. (https://www.excelbanter.com/new-users-excel/37763-change-negative-amount-positive.html)

George

Change negative amount to positive.
 
Hi all

I have in cell K2 "30" (without quotes)
I have in cell L2 "45" (without quotes)

In cell M2 the formula "=K2-L2" (without quotes)
The result in M2 is of course -15.

The values in K2, and L2, change once a week.

Is there a way to show the result of the formula to
always show a positive amount,
and to react as a positive amount during a 'sort'?

I hope this is clear!

Thanks

George Gee




Niek Otten

=ABS(K2-L2)

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"George" wrote in message
...
Hi all

I have in cell K2 "30" (without quotes)
I have in cell L2 "45" (without quotes)

In cell M2 the formula "=K2-L2" (without quotes)
The result in M2 is of course -15.

The values in K2, and L2, change once a week.

Is there a way to show the result of the formula to
always show a positive amount,
and to react as a positive amount during a 'sort'?

I hope this is clear!

Thanks

George Gee






George

Niek Otten

Superb!

Many thanks.

George Gee

Niek Otten wrote:
=ABS(K2-L2)


"George" wrote in message
...
Hi all

I have in cell K2 "30" (without quotes)
I have in cell L2 "45" (without quotes)

In cell M2 the formula "=K2-L2" (without quotes)
The result in M2 is of course -15.

The values in K2, and L2, change once a week.

Is there a way to show the result of the formula to
always show a positive amount,
and to react as a positive amount during a 'sort'?

I hope this is clear!

Thanks

George Gee





All times are GMT +1. The time now is 10:58 PM.

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