Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 929

How to prevent #REF errors appearing in formulas when referenced workbook is opened

$
0
0

In my workbook A, I have formulas that reference my workbook B. Once I open workbook B and enable editing, all of the formulas in workbook A show workbook B's worksheet name as #REF (but the filepath and cell references remain). This is incredibly frustrating since I must manually change all of these #REF's back to the worksheet names every single time I want to update workbook B.

This isn't the case for some other workbooks that I have that reference external workbooks. In those cases, when I open the referenced workbook, I will still get errors, but it won't physically change the formulas. Then, once I am done editing the referenced workbook, I can just go and click "Update Values" in the "Edit Links" dialog box.

What is different between these two situations? How can I change the first situation I described into the second situation? Why does Excel physically change the formulas if the structure of the referenced workbook doesn't change?

I do not want to use INDIRECT() formulas as the ranges that I am referencing in the external workbook may change.


Viewing all articles
Browse latest Browse all 929

Trending Articles