A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula to make Negative Values Positive & Positive Values Negative?



 
 
Thread Tools Display Modes
  #1  
Old September 26th, 2005, 07:52 PM
mustard
external usenet poster
 
Posts: n/a
Default Formula to make Negative Values Positive & Positive Values Negative?


I would like to know if there is any way to have a formula/function that
takes a value from another cell (I know how to do that part) and then
makes the number negative if the original is positive - or else makes
the number positive if the original is negative. Any ideas?


--
mustard
------------------------------------------------------------------------
mustard's Profile: http://www.excelforum.com/member.php...o&userid=20017
View this thread: http://www.excelforum.com/showthread...hreadid=470855

  #2  
Old September 26th, 2005, 08:16 PM
Sloth
external usenet poster
 
Posts: n/a
Default

Just multiply it by -1

example:

=-1*A1

"mustard" wrote:


I would like to know if there is any way to have a formula/function that
takes a value from another cell (I know how to do that part) and then
makes the number negative if the original is positive - or else makes
the number positive if the original is negative. Any ideas?


--
mustard
------------------------------------------------------------------------
mustard's Profile: http://www.excelforum.com/member.php...o&userid=20017
View this thread: http://www.excelforum.com/showthread...hreadid=470855


  #3  
Old September 26th, 2005, 08:18 PM
David Hepner
external usenet poster
 
Posts: n/a
Default

You can:
- put '-1' in an empty cell and copy this cell
- select your data
- goto 'Edit - Paste Special' and choose 'Multiply'

or

create a helper column and use this formula:

=-A1 (aussmuing your numnber is in A1) and drag down the formula.


"mustard" wrote:


I would like to know if there is any way to have a formula/function that
takes a value from another cell (I know how to do that part) and then
makes the number negative if the original is positive - or else makes
the number positive if the original is negative. Any ideas?


--
mustard
------------------------------------------------------------------------
mustard's Profile: http://www.excelforum.com/member.php...o&userid=20017
View this thread: http://www.excelforum.com/showthread...hreadid=470855


  #4  
Old September 26th, 2005, 09:16 PM
mustard
external usenet poster
 
Posts: n/a
Default


That worked great. Thank you.


--
mustard
------------------------------------------------------------------------
mustard's Profile: http://www.excelforum.com/member.php...o&userid=20017
View this thread: http://www.excelforum.com/showthread...hreadid=470855

  #5  
Old September 26th, 2005, 10:05 PM
Gord Dibben
external usenet poster
 
Posts: n/a
Default

mustard

By formula in A1 enter =b1*-1

where b1 is negative or positive.

Without a formula enter -1 in any empty cell then copy and select cells to
change then Paste SpecialMultiplyOkEsc on all selected cells.


Gord Dibben Excel MVP

On Mon, 26 Sep 2005 13:52:43 -0500, mustard
wrote:


I would like to know if there is any way to have a formula/function that
takes a value from another cell (I know how to do that part) and then
makes the number negative if the original is positive - or else makes
the number positive if the original is negative. Any ideas?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to Count and Return Most common Value in a Dynamic Named Range Tinä General Discussion 1 October 23rd, 2004 08:51 PM
sum formula does not tally all values in column Asleeplessknight General Discussion 1 August 19th, 2004 07:54 PM
Can I make a formula that has the result of "0" remain empty? DangerMouse114 Worksheet Functions 2 May 12th, 2004 06:00 AM
negative hour/min values emily Worksheet Functions 4 November 11th, 2003 03:44 AM
Formula Calculating Minus Values Russ Worksheet Functions 2 October 6th, 2003 03:06 PM


All times are GMT +1. The time now is 01:51 PM.


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