REF# error

cicada

Board Regular
Joined
Jan 10, 2010
Messages
79
Hi all,
I am having a problem with above error code appearing in many cells on my workbook. The workbook has tables filled with data via a dde link. I have been working on formulas (that reference cells in the table ranges) and testing them they were ok prior to saving if there are no values for the given formulas to calculate it returns DIV# i think because it is dividing by zero this poses no problem. After saving the file however and I go back into it many of the cells have REF# error. If i try copying them over to another workbook the reference error appears again, never really encountered this before though i am a newb.
Any ideas or any questions i'm all ears.

thanks
Dan
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi Dan

Not had much experience connecting to a DDE link but you normally get #REF errors when the formula is referencing something that doesn't exist anymore, if you'd deleted a column or something for example; you might want to check that your external links to other data sources are still open.

The #DIV/0 error is indeed because you're trying to divide by zero BTW :)

HTH
 
Upvote 0
Hi jazz,

all the formuals reference ranges that are filled by an external dde link. When i reopen the workbook some have DIV# and some show REF#. When i reestablish the dde link the DIV# cells calculate however the REF# cells don't so i'm not sure why some, which reference data from the same tables work and the others continue to show REF#. Any ideas, I think it must be some trick with dde links.

Thanks again
Dan
 
Upvote 0
If the link has been broken then your cell references in your formula will also show #REF where the cell location was and therefore won't fix themselves when the link is remade; you might try and get round this by using the INDIRECT formula but that could make calculation slow if you use it a lot.
 
Upvote 0
thanks for the reply again jazz,

I would have thought the same thing if it were not for some formulas that also reference ranges to the same data, which do not return an REF# error. instead they continue to show DIV# and when the link is reestablished work fine. so I fail to see why the two are being distinguished by excel. Does anyone have any thoughts on this.

Regards
Dan
 
Upvote 0

Forum statistics

Threads
1,225,502
Messages
6,185,350
Members
453,288
Latest member
rlmorales2000

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