Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Formula to change Negative numbers to positive

Hi

I have a column of data that shows all numbers as negativie numbers.

Is there a formula I can write that can be dragged down the column to change the negative numbers into positive numbers?

For example, if a cell contains -500.00 I would like to convert that number to 500.00

Regards

Malcolm Davidson
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Formula to change Negative numbers to positive

Hi Malcolm

If your negative is in A1 then put this in B1:
=ABS(A1)

Now you have a negative in A1 and its positive in B1.

I may misuderstand your question, but anyway: A cell can contain a formula
OR a value, so you can not enter a formula in A1 that does something with a
value in A1.
--
HTH. Best wishes Harald
Followup to newsgroup only please

"Malcolm" skrev i melding
...
Hi

I have a column of data that shows all numbers as negativie numbers.

Is there a formula I can write that can be dragged down the column to

change the negative numbers into positive numbers?

For example, if a cell contains -500.00 I would like to convert that

number to 500.00

Regards

Malcolm Davidson



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Formula to change Negative numbers to positive

A previous answer using ABS(x) and comment about using a
formula in a cell to change the´cell itself was right.

BUT using a simple macro solves that problem:

Sub SignChange()
j = Columns(1).End(xlDown).Row

For i = 1 To j
Cells(i, 1) = (-1) * Cells(i, 1)
Next
End Sub

Of cours You have to adjust references to column no and
end of list.

Good luck!

/jonas haettner
-----Original Message-----
Hi

I have a column of data that shows all numbers as

negativie numbers.

Is there a formula I can write that can be dragged down

the column to change the negative numbers into positive
numbers?

For example, if a cell contains -500.00 I would like to

convert that number to 500.00

Regards

Malcolm Davidson
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Formula to change Negative numbers to positive

Hi Malcolm

One more way:

1. Enter -1 (negative one) in some cell.
2. Copy the cell.
3. Select all numbers in the column in question.
4. Choose Edit Paste special and "Multiply". OK
5. <Esc (To unselect the -1 cell) and clear it.

--
Best Regards
Leo Heuser
Excel MVP

Followup to newsgroup only please.

"Malcolm" skrev i en meddelelse
...
Hi

I have a column of data that shows all numbers as negativie numbers.

Is there a formula I can write that can be dragged down the column to

change the negative numbers into positive numbers?

For example, if a cell contains -500.00 I would like to convert that

number to 500.00

Regards

Malcolm Davidson



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 numbers from positive to negative. tammy p[_2_] Excel Worksheet Functions 2 March 16th 10 03:15 PM
Excel, change column of negative numbers to positive numbers? Nita New Users to Excel 3 November 27th 07 04:54 AM
Change series of numbers from positive to negative Wyatt Murphy Excel Discussion (Misc queries) 3 March 1st 07 08:21 PM
change 2000 cells (negative numbers) into positive numbers lisbern Excel Worksheet Functions 2 August 16th 06 05:54 PM
How do I change a column of 500 numbers from positive to negative JKB Excel Discussion (Misc queries) 2 September 28th 05 04:16 PM


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

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

About Us

"It's about Microsoft Excel"