path title in formulas

TedSki

Board Regular
Joined
Apr 17, 2008
Messages
63
I have a question that I am not sure there is an answer to but here goes. I have two workbooks 1 is an admin workbook and the other is a staff workbook. The staff workbook is say "Month One Work.xls". The admin workbook has formulas in each cell that retrieves a specific total from the staff worbook (=["Month One Work]!A114). Both are saved. When the staff creates "Month Two Work.xls", I need to open a new admin workbook with the formulas accessing the "Month Two Work.xls" workbook. Is there any way to do this without having to change every single formula? There are over two hundred formulas. I was wondering if there was way to put the file name in cell A1 ("Month Two Work.xls") and have the formulas pick up the title in each.
I would appeciate any way this could be done without individually changing each cell manually.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
If you are saying that Month Two Workbook inormation will only be represented, and not Month One Workbook anymore after the Month Two Workbook is gerenrated, then in your admin workbook you can simply select the sheet with the formulas, pres Ctrl+A+A, then hit Ctrl+H and in the Find What field enter
Month One Work]
and in the Replace with field enter
Month Two Work]

Select for Look in Formulas, deselect Match entire cell contents, click Replace All and that should do it.

Keeps things manual which sounds like you will be doing 12 times a year, each time takes a couple seconds so no need for a macro.
 
Upvote 0
Actually MONTH ONE workbook will be saved, the MONTH TWO, then MONTH THREE, and so on so a history folder will contain the whole year's worth of sheets.
 
Upvote 0
You're not making sense.

You wrote:
"so a history folder will contain the whole year's worth of sheets."

which means either
so a history folder will contain the whole year's worth of workbooks.

or

so a history workbook will contain the whole year's worth of sheets.



Either way, just copy the cells from the first Month One worksheet to 12 more worksheets (whether they are each in 12 separate workbooks or 12 sheets in one workbook) and spend a minute to do 11 (total of 12 but you already have the first one done) Find and Replaces for Month Two, Month Three, etc.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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