How do I avoid what I think is a circular reference?

Richard in Redditch

New Member
Joined
Feb 7, 2012
Messages
44
Hello everyone.
I have a requirement which I can't see my way through.
In cell A1, there is a monetary (and manually adjusted) amount, and I want to show in cell B1 the amount by which the new amount entered in A1 differs from the previous amount in A1. I know that I can use (and then hide) cells in C1 ... , but a reference back to the old A1 value (stored in C1) but this would lead to a zero result, as the new A1 value is automatically updated in C1!
Can anyone help, please?
Thank you.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
The only way I have found to do what you need is with VBA.

Setup a Worksheet_Change Event that monitors cell A1.
Every time cell A1 changes, store the existing value in cell C1 (static value).
That way you dont end up with a circular ref

Regards
Caleeco
 
Upvote 0
The only way I have found to do what you need is with VBA.

Setup a Worksheet_Change Event that monitors cell A1.
Every time cell A1 changes, store the existing value in cell C1 (static value).
That way you dont end up with a circular ref

Regards
Caleeco


Many thanks for your prompt response and very helpful idea. I will give it a go!
Richard
 
Upvote 0

Forum statistics

Threads
1,215,454
Messages
6,124,933
Members
449,195
Latest member
Stevenciu

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