Inmy sheet Planner, I have simple links to other sheets represented as such '=Day!$A2'.…
- User
Inmy sheet Planner, I have simple links to other sheets represented as such '=Day!$A2'. If the row in sheet Day is deleted, I loose the link in sheet Planner amd it becomes something like '=Day!REF#'. How can I prevent this
- Assistant
To prevent the loss of links in your sheet Planner when a row is deleted in sheet Day, you can use the INDIRECT function along with an IFERROR function to handle the 'REF#' error. Here's how you can do it:
- Replace your existing link formula '=Day!$A2' in sheet Planner with the following formula:
=IFERROR(INDIRECT("Day!$A2"), "")-
This formula will use the INDIRECT function to retrieve the value from the specified cell in sheet Day, and the IFERROR function will handle any 'REF#' error that might occur if the referenced cell is deleted.
-
If a row is deleted in sheet Day, the formula will return a blank value instead of displaying the 'REF#' error.
By implementing this formula, you can prevent the loss of links when rows are deleted in sheet Day.