Automatically transfer data to next sheet

Tjomster

New Member
Joined
Oct 5, 2018
Messages
8
Hello all

I have two different sheets and want the raw input I add into the first one to automatically transfer in to the same cell on the next sheet and in to a formula. E.g I have written =-‘Sheet1’!A1 in sheet2 to get the first input transferred and change sign, but when I add more information on the first sheet I have to go to sheet 2 and drag/pull down to transfer the additional information. Is there any way I can make the additional rows transfer automatically and in to the formula without having to go to sheet2 and pull down?
 
Is there any way to make this work when i want to copy data in to the first sheet or just drag down instead of typing it in manually all the time?
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Try:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    If Intersect(Target, Range("A:P")) Is Nothing Then Exit Sub
    Application.ScreenUpdating = False
    Dim myRange As Range
    Dim myCell As Range
    Set myRange = Target
    Select Case Target.Column
        Case Is = 11
            For Each myCell In myRange.Cells
                Sheets("Sheet2").Range(Target.Address) = "-" & myCell
            Next myCell
        Case Else
            For Each myCell In myRange.Cells
                Sheets("Sheet2").Range(Target.Address) = myCell
            Next myCell
        End Select
    Application.CutCopyMode = False
    Application.ScreenUpdating = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,936
Messages
6,122,340
Members
449,079
Latest member
rocketslinger

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top