Anchoring a cell.....

  • Thread starter Thread starter Heidi Lange
  • Start date Start date
H

Heidi Lange

I have a formula =c13 on cell E1.

I want to add a row and have cell E1 stay static with =c13

Help please!!
 
Hi Heidi,

Put "c13" in a cell (without the quotes), let's say in E2
Now in E1 use the formula =indirect(E2)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel
 
Thank you sooo much!!
-----Original Message-----
Hi Heidi,

Put "c13" in a cell (without the quotes), let's say in E2
Now in E1 use the formula =indirect(E2)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel




.
 
Not if you add a row/column before C13 it won't - Try it ;-) The use of the $
signs make the reference absolute for the purposes of copying and pasting, but
inserting rows/columns prior to that cell will force it to move, and any linked
reference will stay with that cell, unless, you use INDIRECT.

See Niek's use of INDIRECT to lock down a reference that won't be affected by
inserting/deleting Rows/Columns in the other response.
 
You can also use it without having the data in another cell, eg:-

=INDIRECT("C13")
 
Back
Top