Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default Change the sign on all numbers in a spread sheet

I have a spread sheet that I need to change all of the negative numbers to
positve and positive to negative. Is there an easy way to do this, other
than redoing each cell or adding a column to multiply by -1?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Change the sign on all numbers in a spread sheet

Put -1 in a "spare" cell and copy (this cell).
Select data to changed
Edit==Paste Special== Operation==Multiply
Delete -1 from your "spare" cell

(Backup before attempting above!)

HTH

"Kelly" wrote:

I have a spread sheet that I need to change all of the negative numbers to
positve and positive to negative. Is there an easy way to do this, other
than redoing each cell or adding a column to multiply by -1?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Change the sign on all numbers in a spread sheet

Sub changepos()
For Each c In Range("c1:c2")
c.Value = -c
Next c
End Sub

--
Don Guillett
SalesAid Software

"Kelly" wrote in message
...
I have a spread sheet that I need to change all of the negative numbers to
positve and positive to negative. Is there an easy way to do this, other
than redoing each cell or adding a column to multiply by -1?



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
Change the work sheet name in a formula by using cell reference Neel Excel Worksheet Functions 1 June 12th 06 09:24 AM
how do i create a spread sheet with randomly placed numbers 1-500. sarasota Excel Discussion (Misc queries) 1 January 25th 06 04:52 PM
How can I delete source links and change the current sheet accord. Marshanann Excel Worksheet Functions 0 November 16th 05 02:38 PM
Formulas not recalculating when values change on another sheet Bill Excel Worksheet Functions 0 September 15th 05 10:29 PM
HOW DO YOU CHANGE AN ENTIRE SPREAD SHEET FROM LOWER CASE TO UPPER DRPATRICK2 Excel Discussion (Misc queries) 2 August 24th 05 08:51 PM


All times are GMT +1. The time now is 04:30 AM.

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"