Excel Reference Question

j_brubaker

New Member
Joined
Aug 9, 2018
Messages
14
I am just going to explain what I am trying to do to see if any of you guys can help me.

Basically a simplified version of what I am trying to do is this:

I want to refer to cell A1 in sheet1 from A1 in sheet2. I have a macro set up to insert a row above row 1 every day in sheet1; however, instead of having the equation in A1 sheet2 switch from ='sheet1'A1 to ='sheet1'A2 when the row is inserted, I am looking to keep the ='sheet1'A1 equation the same even though the content of A1 sheet1 changed.

Does that make sense? And how can this be done?

Thanks
Josh
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
What is the formula in sheet2 making reference to cell A1 in sheet1 ???
 
Upvote 0
It will make the formula Volatile, but you could use the INDIRECT function...

=INDIRECT("Sheet1!A1")
 
Upvote 0
OK so you got the answer from Rick[/COLOR]

It worked!

However, now I am running into the problem of dragging down the page with the =indirect("Sheet1!A1") equation. I would like the next cell down to contain the equation =indirect("Sheet1!A2") and so forth. How can this be achieved?
 
Upvote 0
It worked!

However, now I am running into the problem of dragging down the page with the =indirect("Sheet1!A1") equation. I would like the next cell down to contain the equation =indirect("Sheet1!A2") and so forth. How can this be achieved?


So, I got it with this equation: =INDIRECT("'Sheet1'!A"&ROW(A1))


 
Upvote 0

Forum statistics

Threads
1,223,933
Messages
6,175,473
Members
452,646
Latest member
tudou

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