Apologies in advance - I can't install XL2BB on my laptop due to company policies. I'll do my best to explain this as simple as possible.
I have a Workbook with 2 sheets. 1 sheet shows the daily results for each team members completed tasks - this information is pulled from Sheet 2 using COUNTIFS. Sheet 2 is the daily raw data (this gets updated daily and previous raw data is lost) and a single cell that is manually updated to show the date of the data sample.
Sheet 1
Sheet 2
My Problem
When I update the raw data, then amend the date to, for example, 02/04/21, I lose the data in Sheet1 Cells B2&B3 as the new data is now in the column adjacent in C2&C3
Of course, I could simply Copy/Paste Values the data in Sheet 1 each time before I update my raw data, but between you and I, I have more sheets also doing the same for different people/depts - and this will take a long time!
Ideal solution
I'd like to create a macro button that will be used after I drop in the latest data and update the date in Sheet 2, that when pressed will perform the following:
IF date in Sheet 1 ROW1 = date in Sheet 2 C1, Copy then Paste Values in Sheet 1 that has matching date Column for X number of rows (in example above - 2 rows)
I apologise profusely if this explanation sucks. I can answer more questions if it helps?
Also, the title of this thread sucks - was a nightmare trying to figure out how to explain it ?
I have a Workbook with 2 sheets. 1 sheet shows the daily results for each team members completed tasks - this information is pulled from Sheet 2 using COUNTIFS. Sheet 2 is the daily raw data (this gets updated daily and previous raw data is lost) and a single cell that is manually updated to show the date of the data sample.
Sheet 1
Name | 01/04/21 | 02/04/21 |
---|---|---|
Person 1 | 72 (from Formula) | 0 (formula awaiting Date above matching Sheet 2 C1) |
Person 2 | 84 (from Formula) | 0 (formula awaiting Date above matching Sheet 2 C1) |
Sheet 2
Raw Data | Date of Data |
---|---|
1 | 01/04/21 (manually entered) |
*Lots of raw data* | |
84 |
My Problem
When I update the raw data, then amend the date to, for example, 02/04/21, I lose the data in Sheet1 Cells B2&B3 as the new data is now in the column adjacent in C2&C3
Of course, I could simply Copy/Paste Values the data in Sheet 1 each time before I update my raw data, but between you and I, I have more sheets also doing the same for different people/depts - and this will take a long time!
Ideal solution
I'd like to create a macro button that will be used after I drop in the latest data and update the date in Sheet 2, that when pressed will perform the following:
IF date in Sheet 1 ROW1 = date in Sheet 2 C1, Copy then Paste Values in Sheet 1 that has matching date Column for X number of rows (in example above - 2 rows)
I apologise profusely if this explanation sucks. I can answer more questions if it helps?
Also, the title of this thread sucks - was a nightmare trying to figure out how to explain it ?