Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Converting Negative Numbers to Positive

There has to be a way to do this other than multiplying by -1???

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Converting Negative Numbers to Positive

=ABS(A1)?


--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"bmmclen" wrote:

There has to be a way to do this other than multiplying by -1???

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Converting Negative Numbers to Positive

check out ABS in help

"bmmclen" wrote:

There has to be a way to do this other than multiplying by -1???

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Converting Negative Numbers to Positive

Well, you could subtract the negative number from itself, then subtract
it again...

If you mean "a way to do this other than a formula", then one way:

Edit/Replace

Find what: -
Replace with: <leave blank


In article ,
bmmclen wrote:

There has to be a way to do this other than multiplying by -1???

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 109
Default Converting Negative Numbers to Positive

bmmclen wrote:
There has to be a way to do this other than multiplying by -1???


Cell A1 enter a negative No.


in another cell enter =ABS(A1)


Answer is positive No.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200702/1



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Converting Negative Numbers to Positive

another thought occurs

=SQRT(A1*A1)

"bmmclen" wrote:

There has to be a way to do this other than multiplying by -1???

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Converting Negative Numbers to Positive

How about

=IF(A1*A1=1,A1*A1,SQRT(A1*A1))

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Mike" wrote:

another thought occurs

=SQRT(A1*A1)

"bmmclen" wrote:

There has to be a way to do this other than multiplying by -1???

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Converting Negative Numbers to Positive

=MID(A1,MIN(IF(ISERROR(1*(MID(A1,ROW(INDIRECT("A1: A"&LEN(A1))),1))),255,ROW(INDIRECT("A1:A"&LEN(A1)) ))),99)

entered as an array

"Dave F" wrote:

How about

=IF(A1*A1=1,A1*A1,SQRT(A1*A1))

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Mike" wrote:

another thought occurs

=SQRT(A1*A1)

"bmmclen" wrote:

There has to be a way to do this other than multiplying by -1???

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default Converting Negative Numbers to Positive

Nice to see the minimilist method is the only solution
:)
My answer to the original is Why, what's wrong with * (-1) ?

Steve

On Wed, 07 Feb 2007 15:17:00 -0000, Mike
wrote:

=MID(A1,MIN(IF(ISERROR(1*(MID(A1,ROW(INDIRECT("A1: A"&LEN(A1))),1))),255,ROW(INDIRECT("A1:A"&LEN(A1)) ))),99)

entered as an array

"Dave F" wrote:

How about

=IF(A1*A1=1,A1*A1,SQRT(A1*A1))

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Mike" wrote:

another thought occurs

=SQRT(A1*A1)

"bmmclen" wrote:

There has to be a way to do this other than multiplying by -1???

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 138
Default Converting Negative Numbers to Positive

On Feb 7, 3:48 pm, SteveW wrote:

.... what's wrong with * (-1) ?

ABS(A1) or SQRT(A1*A1) will generate a positive result whether the
origininal number in A1 is +ve or -ve.

*(-1) only returns a +ve result if the value in A1 is -ve.

Regards,

Alan

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
How to change positive numbers to negative numbers without re-ente 9541moosegirl Excel Worksheet Functions 8 March 5th 08 05:35 PM
converting hex values to negative numbers Michael_Braganza Excel Discussion (Misc queries) 2 December 11th 06 09:12 AM
counting a string of negative or positive numbers mcarrington Excel Discussion (Misc queries) 0 January 12th 06 11:02 PM
formula for negative and positive numbers in different columns s.m.hardin Excel Worksheet Functions 5 December 29th 05 06:59 PM
Compare Negative & Positive Numbers chom New Users to Excel 3 July 28th 05 08:26 AM


All times are GMT +1. The time now is 01:13 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"