Formula using a named range in another workbook

SHUTTEHFACE

Board Regular
Joined
Aug 13, 2014
Messages
53
Hi all,

I'm trying to use a named range in another workbook inside my index match formula. Because the location of the file will change based on who is accessing it, I have a cell using the CELL("filename") formula to determine the path of the file.This gives me:
Code:
C:\Users\SHUTTEHFACE\Dropbox\ABC\ABCdocs\123\[filename.xlsx]Data
I'm then using CONCATENATE to get the proper reference nomenclature for excel:
Code:
'C:\Users\SHUTTEHFACE\Dropbox \ABC\ABCdocs\123\[filename.xlsx]Data'!


Code:
[filename.xlsx]Data'!
contains a bunch of dynamic named ranges I'd like to use inside my INDEX MATCH Formulas. First off, is this possible? Second, how would I do this?

Cheers,

STF
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Using CELL("filename") can give unwanted results. Because every time a new sheet is activated it will become that sheet name. I have definitely used it in the past, but just a warning that you have to be mindful of that.

I have never tried what you are attempting, but if you cannot get your solution to work, my only idea is to create a cell off screen. Use this cell for each person to enter the path; not including the file name. And then have the formula use this cell & whatever the filename is. Not sure how many people you are dealing with, or if they are computer literate. But just in case it is helpful. Best of luck to you.
 
Last edited:
Upvote 0
Thanks duBBINS, will let you know how things work out. Can I use CONCATENATE inside the INDEX formula to define the path as I have a number of named ranges named after the title of each column. So I am using:
Code:
[COLOR=#333333]=INDEX(CONCATENATE(Cellwithpath,Cellwithrangename),MATCH(.....))[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,215,754
Messages
6,126,680
Members
449,328
Latest member
easperhe29

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