Link to a file name with a cell value

CFO_In_Training

New Member
Joined
Oct 29, 2014
Messages
10
Hello,

I have 2 files. file 1 collects information from multiple files, just numbers.

i want to be able to type in a person's name in file 1, and have it use that name in multiple formulas in that file to grab different cells in file 2.

i.e. ='c:\temp\jonsmith_file.xlsx'!C1. I want to be able to concatenate the name from 2 cells, and create the file name location...

thanks in advance!!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
External Closed Workbook Data

Hi, I'll post this again. Maybe it'll be clearer.

=INDEX('c:\excel\[filename.xlsx]Sheet1'!P:P,3,1)

What I want is to be able to build the file name with Cell information (via concatenate or &) so that i can copy this formula into multiple cells without having to modify the formula itself.

So the File name will be from 2 different cells, and the sheet name also. I've attempted using INDIRECT, but as we all know, it doesn't work on closed workbooks. But I'm able to build my path with the INDIRECT function.

Does anyone have a Non-VBA way of doing this? I just don't want to have to copy formulas and search replace every time i need to add something.

Thank you,
Chris
 
Upvote 0
Re: External Closed Workbook Data

I have merged your two threads together. Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread. Per forum rules, posts of a duplicate nature will typically be locked or deleted (rule 12 here: Forum Rules).

Thanks
 
Upvote 0
Re: External Closed Workbook Data

I just had 47 views and no responses.
Understood. The proper thing to do is just post back to the original question with your clarifications.
We do not want two versions of the same question out there, as that can lead to two threads on the same problem (which causes all the same concerns that Cross-Posting causes).
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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