Changing a group of neg #'s to positive #

S

Sonia Rokusek

I have had great success on these message board answering
questions that I have. I don't seem to see a similar
issue this time.

I have a group of numbers across 6 worksheets that need to
have the signs changed from negative to positive. Does
anyone know a quick way to do this?

Thank you in advance.
Sonia
 
D

Dan E

Here's a short little macro to do it

Sub Macro1()
For Each c In Selection
c.Value = -c.Value
Next
End Sub

Just select a range and run this macro it'll change the sign of each cell.

Dan E
 
P

Paul Corrado

Sonia,

Place the value -1 in your worksheet.

Select that cell and Edit/Copy

Select the range of cells for which you want to change the sign

Edit/Paste Special and select the Multiply Operation

HTH

PC
 
P

Paul Corrado

Dan,

I've had similar experiences. This place is a real eye opener isn't it.

PC
 
S

Sonia Rokusek

Thank you so much! Worked great!
-----Original Message-----
Sonia,

Place the value -1 in your worksheet.

Select that cell and Edit/Copy

Select the range of cells for which you want to change the sign

Edit/Paste Special and select the Multiply Operation

HTH

PC





.
 

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

Top