Populate A List From One Cell On One Sheet

Jmwend

New Member
Joined
Aug 22, 2011
Messages
17
Hello, need a little help please.

I would like to compile a list of numbers I have typed into a cell on one page and list it on another page without writing over the number but putting it in a different cell.

For example: I type into the cell A1 sheet 1, 3000 then in cell A1 on sheet 2, 3000. I then clear A1 sheet 1 and type in 3040 then in cell A2 sheet 2, 3040, etc.

Making a list of numbers I have used so they I can keep track of them, and go back to see that I have used them.

Hopefully someone can help me!
 
Hi, :)

try it this way:

Code:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    If Target.Cells(1).Address = "$F$20" Then
        Sheet1.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Value = Target.Value
        Sheet1.Cells(Rows.Count, 4).End(xlUp).Offset(1, 0).Value = Me.Range("C5").Value
    ElseIf Target.Cells(1).Address = "$F$21" Then
        Sheet1.Cells(Rows.Count, 2).End(xlUp).Offset(1, 0).Value = Target.Value
        Sheet1.Cells(Rows.Count, 5).End(xlUp).Offset(1, 0).Value = Me.Range("C5").Value
    ElseIf Target.Cells(1).Address = "$F$22" Then
        Sheet1.Cells(Rows.Count, 3).End(xlUp).Offset(1, 0).Value = Target.Value
        Sheet1.Cells(Rows.Count, 6).End(xlUp).Offset(1, 0).Value = Me.Range("C5").Value
    End If
End Sub
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,221,444
Messages
6,159,912
Members
451,601
Latest member
terrynelson55

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