indirect function to different workbook named range

jdpjtp910

Board Regular
Joined
Jul 20, 2010
Messages
67
Ok, I have a table saved on Test1.xls named testTable. I have named the table using "Create from Selection" I am using the following formula to reference certain cells from the table.

=row1 col2 (testTable)

where row1 = row name being referenced
col2 = column being referenced
(testTable) = name of the table.

The formula gets the intersection point of the two named ranges and table name. I can get the formula to work fine within the worksheet. I now need to use that formula from a different worksheet named Diff.xls.

I have both worksheets open and type the following:

='Test1.xls'!row1 'Test1.xls'!col2 ('Test1.xls'!testTable)

Again that formula works fine. What I need to do is use an indirect function on the named range. So in Diff.xls I have cell A2 = 3

I want to do the following:
='Test1.xls'!row(indirect(A2)) 'Test1.xls'!col2 ('Test1.xls'!testTable)

I get a NAME? error. how can I get the indirect to work on a named range on a different workbook???

Or how do I use indirect on this formula to change the file name???

ANY help would be GREAT and thank you to everyone in advance.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

jdpjtp910

Board Regular
Joined
Jul 20, 2010
Messages
67
nevermind I got it..FINALLY

=INDIRECT("'[Test1.xls]106'! row"&$A$1&"") 'Test1.xls'!Col2 ('Test1.xls'!tableName)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,109
Messages
5,857,438
Members
431,879
Latest member
KiwDaWabbit

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
Top