Reputation: 407
I have a value in cell D8 of Sheet2.
Cell A4 from Sheet1 has a formula that contains the value of cell D8 from Sheet2.
Now, when I delete the entire Sheet2, I get a referencing error in the formula from cell A4 in Sheet1, which is fine.
But when I insert a new sheet with the same sheet name Sheet2 with another new value in cell D8, my formula in cell A4 of Sheet1 still displays a referencing error.
How do I solve this?
For formulas within the same sheet, I can use offset function but I'm stuck when it comes to deleting and re-inserting sheets.
Thanks!
Upvotes: 2
Views: 184
Reputation: 36
Use indirect function in cell A4 of Sheet1 to hard code the address, like this
=INDIRECT("Sheet2!D8")
Upvotes: 2
Reputation: 55682
Either
or
Upvotes: 1