Solved

How do I make an Excel formula that never changes, regardless of what happens to any referenced cells?

Posted on 2015-01-05
4
150 Views
Last Modified: 2015-01-05
Folks -

I am well aware of the difference between absolute and relative references.  I've stumbled on something I can't figure out how to make Excel do though.

Let us say I have a value of 10 in A2.

Let us say in A1, I type the formula: =$A$2

A1 and A2 should therefore reflect the value 10.

The absolute reference for the column and row in the formula in A1 means that if I cut and paste A1 around, it's formula will not change.  It will remain =$A$2.

What I want to figure out is how I get Excel to not change the formula in A1 if I move *A2* around.  In other words, if I cut A2 to somewhere else, I still want A1 to reflect =$A$2, rather than the location I moved A2 to, which is precisely how Excel behaves.

What I'm after is keeping a formula absolute, in all cases, regardless of what I do with its targeted cell(s).

Is this possible?

Thanks in advance.
0
Comment
Question by:amendala
4 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 40532345
Try:

=INDIRECT("A2")
0
 
LVL 77

Expert Comment

by:arnold
ID: 40532375
the content of A1 will always reflect the data in A2, if you change contents of A2, the change will be reflected in A1.
What your $A$2 means that when you copy and move A1 to any other location it will still reference the contents of A2 and will reflect that no matter where you paste it.
The only time A1 function as you have it is changed is when you insert a column or a row displacing the two items in the formula.or you cut and paste the contents of A2 somewhere else, the A1 formula will be adjusted to reflect the relocation of the cell.

Not sure whether you can lock the function to ignore mass worksheet change.
You could use/write a macro that I do not believe will be affected by excel "intuitive" adjustments as those are managed by VBA.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40532423
The Indirect approach is what comes into mind - that should work. But Excel can no longer determine if the value has to change if there are changes to the sheet, so there is a performance if used extensively.
0
 

Author Closing Comment

by:amendala
ID: 40532818
Perfect.  This is precisely what I was looking for and works exactly as intended for me.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now