deleting a cell without affecting cells which refer to that cell

caffeine_demon

Board Regular
Joined
Apr 19, 2007
Messages
64
Hi,

Suppose I have 1 sheet with data on:

col1 col2
a b
b C
c d
d e
e f
f g
g h
h i
i j
j k
k l
l m
m n

and another sheet which refers to sheet1

(eg a1 = sheet1!a1, a2= sheet1!a2 b1 = sheet1!b1 and so on..)

if I delete a row from sheet 1, then sheet 2 displays #ref in that row
eg:
g h
#REF! #REF!
i j

I want it to show a reflection of sheet 1 - ie
g h
i j
j k

is there a way to do this?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Ideally, you should try to NOT delete rows...
Perhaps instead you can just Clear Contents, then re-sort the data Ascending.
That will send blanks to the bottom..


But if you MUST...

Try this in A1 and filled Down/Right

=INDEX(Sheet1!$A$1:$B$13,ROW(),COLUMN())
 
Upvote 0
In case you don't want your formulas to start in A1:

=INDEX(Sheet1!$A:$B,ROW($A1)-ROW($A$1)+1,COLUMN(A$1)-COLUMN($A$1)+1)
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,158
Members
452,892
Latest member
yadavagiri

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