Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
George
 
Posts: n/a
Default 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



  #2   Report Post  
Niek Otten
 
Posts: n/a
Default

=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





  #3   Report Post  
George
 
Posts: n/a
Default

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating growth with negative numbers Tsipi4me Excel Worksheet Functions 3 April 3rd 23 12:12 PM
Compare Negative & Positive Numbers chom New Users to Excel 3 July 28th 05 08:26 AM
FORMULA TO ADD POSITIVE AND NEGATIVE NUMBERS, REGARDLESS OF SIGN JON Excel Discussion (Misc queries) 3 July 18th 05 06:35 PM
Finding negative and positive diffrence Ashish Doshi Excel Worksheet Functions 2 May 24th 05 11:54 PM
can the negative numbers in an IF statement be in a diff color th. mwhite17 Excel Worksheet Functions 1 January 12th 05 09:59 PM


All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"