Keeping Tally each day

chrono2483

Board Regular
Joined
Aug 23, 2014
Messages
164
Office Version
  1. 2016
I have a worksheet, where each day the team runs a macro and it displays data. Is there a way, in a new sheet to keep track of the data each day, for the month?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Is there a way, in a new sheet to keep track of the data each day
Try to use this VBA macro, if it suits you
Code:
'copy from Sheet1 to Sheet2 and remember data
Dim rw As Long
Dim cl As Integer
Dim Dest As Range
'Set first Column destination
cl = 1 'column A
'Search first empty row
rw = ActiveWorkbook.Sheets("Sheet2").Cells(65535, cl).End(xlUp).Row + 1
'destinations
Set Dest = ActiveWorkbook.Sheets("Sheet2").Cells(rw, cl)  'where is destination 1
Dest.Value = ActiveWorkbook.Sheets("Sheet1").Range("A2")  'enetring data in to destination 1
Set Dest = ActiveWorkbook.Sheets("Sheet2").Cells(rw, cl + 1) 'where is destination 2
Dest.Value = ActiveWorkbook.Sheets("Sheet1").Range("A5") 'enetring data in to destination 2
Set Dest = ActiveWorkbook.Sheets("Sheet2").Cells(rw, cl + 2) 'where is destination 3
Dest.Value = ActiveWorkbook.Sheets("Sheet1").Range("A10") 'enetring data in to destination 3
'other destinations...
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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