#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Excel question

Does anybody know how you can make a positive number become a negative number
when copied into a different cell in Excel?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Excel question

It depends on how do you copy!
If you want to have a standard column (say column B) containing a negative
copy of another column (say column A) then enter formula =-A1 in B1.

If you manually copy and paste separate cells into other cells then you need
a change event procedure but first you have to specify the target cells you
want to apply the procedure to (e.g. if target cell is in column B):

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 Then 'column B
Target.Value = -Target.Value
End If
End Sub

Regards,
Stefi

€˛Clare€¯ ezt Ć*rta:

Does anybody know how you can make a positive number become a negative number
when copied into a different cell in Excel?

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default Excel question

Try entering -1 in the cell to copy to first. Then copy the cell,
select the cell to copy to and choose edit-paste special with multiply
selected.

Clare wrote:

Does anybody know how you can make a positive number become a negative number
when copied into a different cell in Excel?

Thank you


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
Excel files in separate program windows Jason Dove Excel Discussion (Misc queries) 27 October 24th 08 07:58 PM
excel novice question on filling in missing fields/cells TimR Excel Discussion (Misc queries) 3 May 19th 06 11:10 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 12:11 PM.

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

About Us

"It's about Microsoft Excel"