I think the only way to find out what it used to point at is by looking at a
backup copy (that hasn't been broken).
Dan E wrote:
>
> I maintain some spreadsheets containing formulae like this:-
>
> =IF(OR(AN135="",AN135="-"),"-",IF(RIGHT(AN135,2)="OR","-",LOOKUP(AN135,Crib!$A$1:$A$272,Crib!$B$1:$B$272))).
>
> The cells containing the formulae are locked, and protection is normally
> turned on. Most of the time, the spreadsheets work fine, but occasionally,
> the user reports a #REF! error, and when I take a look, sure enough, somehow
> one of these formulae has been replaced by a version that must (I guess) be
> pointing to a non-valid cell. The error version appears like this -
>
> =IF(OR(#REF!="",#REF!="-"),"-",IF(RIGHT(#REF!,2)="OR","-",LOOKUP(#REF!,Crib!$A$1:$A$272,Crib!$B$1:$B$272))).
>
> Is there a way to find out what the #REF! was pointing to (in the case
> above, it should be AN137)? Seems to be the only way I'm going to find out
> why this happens. The sheet has a macro, that simply does some some
> formatting and does some conditional testing on Either running a macro is
> the cause, or it may be that something happens when the sheet is temporarily
> unlocked.
>
> All help or suggestions gratefully received and acknowledged!
>
> TIA,
>
> Dan
>
> --
> Dan E
> webbie(removethis)@preferredcountry.com
--
Dave Peterson
Bookmarks