Prevent cell references from changing after inserting rows or columns

tmaddison

New Member
Joined
Aug 4, 2024
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Hi,

I feel stupid posting this because I once knew the answer, but right now I can't even figure out what to call this to do a proper Google search for that answer.

Here's the situation. Let's say I have a worksheet with two tabs - DATA and SUMMARY.

In the DATA tab I have some data in cell A1.

In the SUMMARY tab, cell A1 is populated with =Data!$A$1. I always want what is in DATA!A1 to be displayed in SUMMARY!A1.

Now lets say I insert a row in the DATA tab BEFORE the current row 1. DATA!A1 is now empty, the entry that used to be in DATA!A1 is now in DATA!A2.

But I DO NOT want the formula in SUMMARY!A1 to change to refer to DATA!A2, I want it to continue to point to DATA!A1.

Despite using absolute references, if I insert a row before the existing data, Excel always "helpfully" changes the reference to continue to point to the same bit of data, which is now in DATA!A2

I remember dealing with this once long ago. I'd swear fixing it had something to do with an "Options" setting that could be toggled on or off, with the default being "on".

Now, I've searched and can't find it.

Am I imagining things, did that not ever exist, or am I just missing it?

Thanks,

Todd
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Two options. Both in A1 and copied down.
Passive formula.
Excel Formula:
=INDIRECT("'DATA'!A"& ROW())
Normal formula
Excel Formula:
=INDEX(DATA!$A:$A,ROW())
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,215
Members
453,024
Latest member
Wingit77

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