Formula to make Negative Values Positive & Positive Values Negative?

  • Thread starter Thread starter mustard
  • Start date Start date
M

mustard

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?
 
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

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 Special>Multiply>Ok>Esc on all selected cells.


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top