Formula returning NA unless source is open

goofy78270

Well-known Member
Joined
May 16, 2007
Messages
555
I have been working on the following for about a week, with no luck. before I get a concussion from banging my head against the desk:rofl:, I thought I would post the issue here.

I am currently pulling in all cells from various worksheets, into a specific tabs in a workbook. Each source is pulled into a seperate tab such as Workbook A is pulled into tab Company A using the following formula which works fine.
Code:
"Path[Workbook.xls]Worksheet!ReferenceCell"
 
Note:  This is done due to the use of indirect in the next formula and its
inability to work on closed workbooks.

Within a summary tab, I am then pulling in specific fields from each of the aforementioned worksheets using the following formula
Code:
=IF(OR(M$220="",M$218=""),"",IF(ISNA(VLOOKUP($B223,INDIRECT
("'"&M$217&"'!"&M$220),COLUMNS(INDIRECT(M$220)),FALSE)),"",VLOOKUP
($B223,INDIRECT("'"&M$217&"'!"&M$220),COLUMNS(INDIRECT
(M$220)),FALSE)+M$222))
 
M217 - Worksheet Name
M218 - Worksheet Date
M220 - Worksheet Range
M222 - Additional Fee
B223 - Lookup Value

The issue is that one company out of 14 pulls into this workbook (using the first code) just fine with all values visible, but ONLY when the source file is open:confused:. Even if I manually update the link, the values do not change.

Is there a setting or something to check, maybe in the source workbook? I have ensured that automatic updates for links is on and there are no macros in the source workbook.

I am unsure what other information you may need, but if you let me know, I will be sure to submit whatever is needed.
 

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
Maybe I was unclear, but my issue is not with the indirect function, my issue is with the simple formula to pull data from one workbook into another.

The following formula works for 13 out of 14 workbooks, but one will NOT update unless it is open.
Code:
Cell A1 = Formula("Path[Workbook.xls]Worksheet!A1")

The use of the hijacked indirect function is not an option as my company is not inclined to add this add-in to all users that update this workbook.
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,702
Members
452,938
Latest member
babeneker

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