Autocalculation

ljtong

Board Regular
Joined
May 23, 2005
Messages
71
Say A1 has the formula
=B1

When I type 5 into B1, A1 doesn't change until I press F9

I know how to set the options to "automatic calculation"

But is it possible to set just certain cells(A1 in this case) to "volatile" like in VBA so it recalculates for each change in its formula's source cell?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi

Try Tools, Options, Calculation, and make sure the automatic radio button is selected.


Tony
 
Upvote 0
Tony, I think they want to recalc one cell, rather than the whole sheet.

So try this:
1. Press Alt-F11 to bring up VBA
2. In the left pane, double-click the sheet to attach this to.
3. Paste this in (alter as required):

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$B$1" Then [a1].Formula = [a1].Formula
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,818
Messages
6,121,725
Members
449,049
Latest member
MiguekHeka

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