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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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