chronotonFlux

New Member
Joined
Dec 18, 2017
Messages
8
I want to pull information out of a certain file/tab/cell

if I type in the full [file.xls]tab!cell i get exactly what I wanted, but what I need to have it do is give me that same information after I've put together file/tab/cell as cells

What information I need:
='[file.xls]tab'!$D$5

But I need to do it this way

A1 = '[file.xls]tab'!
B1 = A1 AND D5

How do I simply break the above in two parts so that the cell call can be independant of the file call, but still return the values expected?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Indirect can do that, as long as file.xls is open. It won't work if the file.xls book is closed.
Take the ' and ! out of A1 (we'll enter them in the formula instead)
so A1 = [file.xls]tab

=INDIRECT("'" & A1 & "'!D5")
 
Upvote 0
There's a 3rd party addin called MoreFunc that has a function similar to indirect and will work on closed books.
See the Recommended Addins thread

Now bear in mind with the book closed, you'll have to include the file path
A1 would be C:\SomeFolder\Path\etc\[file.xls]tab
 
Upvote 0

Forum statistics

Threads
1,215,518
Messages
6,125,293
Members
449,218
Latest member
Excel Master

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