How to avoid #REF for formulas referencing table that is updated when file is opened

dpnab

New Member
Joined
Apr 12, 2022
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a file that has 2 sheets. The first is a table that is connected to other data via ODBC and is updated whenever the file opens (let's just call it a daily ship log). So if you open it at the end of the day, there are lots of entries in the table. If you open it first thing, it shows nothing, since nothing has shipped yet.

The second sheet has several columns with formulas that reference data in the first sheet, ie =Sheet1!A1. The problem is if there is no data, then the formula replaces A1 with #REF.

Is there anyway to "lock" the formula?

Or do I "link" the cell to the table?

Thanks!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hello,

I have a file that has 2 sheets. The first is a table that is connected to other data via ODBC and is updated whenever the file opens (let's just call it a daily ship log). So if you open it at the end of the day, there are lots of entries in the table. If you open it first thing, it shows nothing, since nothing has shipped yet.

The second sheet has several columns with formulas that reference data in the first sheet, ie =Sheet1!A1. The problem is if there is no data, then the formula replaces A1 with #REF.

Is there anyway to "lock" the formula?

Or do I "link" the cell to the table?

Thanks!
The IFERROR Funciton can be used to hide those errors...
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,607
Members
449,037
Latest member
Arbind kumar

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