Linking to External Workbook Error - Indirect Alternative?

Alohadboy

New Member
Joined
Mar 18, 2011
Messages
26
I have a workbook (A) that contains multiple tabs, where each needs to be linked to an external workbook (B) that also contains the division revenue on multiple tabs (Dallas, Houston, etc).

In workbook A, the user will select a division (Dallas for example), which will look up the corresponding revenue in workbook B, on the Dallas tab.

I need to be able to replicate the tab in workbook A such that the user can select a different division for each tab, and it will pull over their corresponding revenue from workbook B.

An indirect formula works, but obviously only if the source workbook is open (B).

Any thoughts on an alternative? This is what I have so far:

=SUMPRODUCT(1*(INDIRECT($B$1&"C4:O4")=E$2)*(INDIRECT($B$1&"A7:A290")=$B29),(INDIRECT($B$1&"C7:O290")))
Where:
B1 is the file reference
E2 is January
B29 is "Revenue"

I appreciate your input.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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