Calling a cell that contains part of a filename

Renzokuken

New Member
Joined
Jan 24, 2014
Messages
3
Hi Everyone! Appreciate if you could help me with this:

So here's what I have:

1
2
3
A
01_01_14
01_02_14
01_03_14
B
OUTLOOK
OUTLOOK
OUTLOOK
C
OUTLOOK01_01_14
OUTLOOK01_02_14
OUTLOOK01_03_14
D
____
____
____

<tbody>
</tbody>

Here's the formula I want to have in D1:

='[OUTLOOK01_01_14.xlsx]Book1'!$X$1

Note:
1. Book 1 is the worksheet from the OUTLOOKMM_DD_YY.xls file.
2. $X$1 is the cell that I want to call from Book 1 of the OUTLOOKMM_DD_YY.xls file.

The aim is to create a program/formula that automatically puts those written in Column C as part of the filename (OUTLOOKMM_DD_YY.xls) in the formula in Column D, so that I can call cell $X$1 from that file.

TIA!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Formula in D1:

=INDIRECT("["&C1&".xlsx]Sheet1!$X$1")

If the file is closed, you need to add the directory and folder, where the file is located.
 
Upvote 0
Thanks everyone for the quick responses! I forgot to mention that I would prefer a function/formula that will not require me to open each file coz theres a just a LOT :D

Will do search about the pull function.

Again, thanks! If you have other suggestions, please feel free to post here.
 
Upvote 0

Forum statistics

Threads
1,203,752
Messages
6,057,150
Members
444,908
Latest member
Jayrey

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