Date adjustment

srcasm83

New Member
Joined
Jan 5, 2009
Messages
9
Every day I have to put together a report. There is a master file for the report that I copy and paste, and then rename for the appropriate date in mm-dd-yy format. Is there a formula that I can save on the master file so that I can pull numbers from the previous days report? For example I copy and paste the master file, and rename it 01-05-09. The date is typed into cell F3 in the "Report" tab. What I need to do is pull the number from cell C8 in the "Swing daily sum" tab on the previous days report. Any help would be appreciated!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Don't follow 100%, but you could use a built-up INDIRECT function to incorporate the file's path and then the cell value containing the date, eg:

=INDIRECT("'[TestFile "&TEXT(A2,"mm-dd-yy")&".xlsm]Sheet1'!$A$1")

where A2 contains the date.

However:

i) this only works when the source file is actually open.
ii) you'll need something more complex when you want to drag the formula down/across, since the "$A$1" part is just text.

Probably a better way of doing it if I understood your post better.

:-)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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