Referencing a cell even if its contents are moved moved/replaced

D

Darren

I want to reference a cell no matter what happens to it.

Simple example:

From A1 down:
A1=B1
A2=B2
A3=B3

From B1 down:
5
10
15

If I cut and insert B3(15) into B2, the A column would then read as:

A1=B1
A2=B3
A3=B2

How do I keep the A column referencing the original cell?
 
D

Dave Peterson

=indirect("b1")
will always point to B1 -- no matter if you delete or insert any
rows/columns/cells.
 
M

Ms-Exl-Learner

Copy and paste the below formula in A1 cell and drag it to the remaining
cells of Column A.

=INDIRECT("B"&ROW())

Remember to Click Yes, if this post helps!
 
S

Stan Brown

I want to reference a cell no matter what happens to it.

Simple example:

From A1 down:
A1=B1
A2=B2
A3=B3

From B1 down:
5
10
15

If I cut and insert B3(15) into B2, the A column would then read as:

A1=B1
A2=B3
A3=B2

How do I keep the A column referencing the original cell?

Instead of Paste, use Paste Special » Values.
 
D

Darren

Thankyou so much for the replies. Your formula works great in the simple
example I presented you with. can we please now take it a step further.

Can the same formula be adapted to reference a cell on another worksheet? I
have tried but, as you can see by me posting, have had no success.

For ease lets call the worksheets Sheet1 and Sheet2.
I want A1 on sheet1 to read A1 on Sheet2 using the INDIRECT command, through
B1, C1, etc. Can this be done?
 
D

Darren

Hehe, figured it out. =INDIRECT("Sheet2!A"&ROW(A1)) in Sheet1 A7, then copied
down.
Thankyou all for what you do here. Without your help a lot of people would
be lost.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top