Persisting Range Name Addresses to Avoid #REF!

drewg

Board Regular
Joined
Jul 5, 2010
Messages
67
There must be a technique of which i am ignorant to preserve the addresses or the formulas a range name refers to. A workbook has been returned from coworkers with unexplained #REF # errors in some range name addresses.

So, how is this best fixed, that is, where and how should this information be preserved so it can be refreshed?
Should i make a list of the names and their resolution (RangeA=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),1) RangeB=Sheet1!$A$1:$A$100 ) and store it someplace?
If so, where should that happen, in a module as constants, in a workbook event, a hidden worksheet some other place like a form's activate but on the workbook level so it would be non-destructive of existing calculations and 'self healing' for dependent calculations while being automatically refreshing?
Thanks very much for your help and advice
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I suspect these #REF errors MAY have been caused by people deleting elements such as sheets, rows, or columns.

If that is the case, perhaps the best solution is to use some form of worksheet or workbook protection to prevent such changes.

Also, consider simply saving your own copy of the workbook, for use in such situations.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,809
Members
449,048
Latest member
greyangel23

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