Write and Save Historical Weekly Data - How To?

BrettOlbrys1

Board Regular
Joined
May 1, 2018
Messages
139
Office Version
  1. 365
Platform
  1. Windows
If someone has a sample file or tutorial, it would be very helpful.

Here is what I want to do, but I have no idea how to accomplish this task:

- Every week, I need to show Sales data from the "prior week" and Sales data from the "current week." The Sales data file is dynamic, so as time passes, the Sales information changes.
- This week's "Current Week" sales data will be next weeks' "Prior Week" data, so it is constantly changing.
- I need to produce a PDF of the final report and I will be doing this with a Macro (to make the PDF creation easy for anyone who wants to create themselves)

When I click the Macro button to create the PDF, I also want the Excel file to write the "Current Week" sales data to another sheet so that even if the raw Sales information changes over time, I will have a record of what it was on the DATE when it was written to the second sheet. And every week the file runs, the new "Current Week" data is captured and DOES NOT overwrite the older captured data, it should just keep capturing onto new rows with the date of when it was run.

Any idea how to do this?

Thanks

Brett
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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