How to Update the File Name in a Formula concatenating to a cell?

RAFARRAR

New Member
Joined
Sep 27, 2011
Messages
6
I would like to make the date "8-23-2017" come from cell (say A1) that the user can choose, then substitute that cell into the external file string below.

Here's the formula in cell B1
='\\Page\08 Aug 1st Shift 17\[8-23-2017.xls]Daily Sch Prod Report'!A6

I thought this might work as follows, but no such luck.

='\\Page\08 Aug 1st Shift 17\&"["&A1&".xls]Daily Sch Prod Report'!A6"

Any Ideas? I see this can be done via a macro, but was wondering if this file name reference could be concatenated into a formula.

Thanks!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Indirect only works when the files are open. I have 15 files from different areas with the same date. I am looking at a way to change the date in a cell and concatenate that cell into the multiple file references.

Thanks!
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,794
Members
449,468
Latest member
AGreen17

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