Have a cell remember its previously calculated value?
Is there a way to "trick" a formula out of its volatility and hold a value from a previous calculation?
CELL A1 = RAND Value Between 1 and 10 (or whatever)
CELL B1 = Dropdown menu: "Randomize" and "Freeze"
A1 formula would do something like:
IF(B1="Freeze",["Formula to Maintain Currently Displayed Value"],[RAND(etc..))
I've been experiminting with using INDIRECT with the term RAND in order to turn the RAND on and off in a formula with a dropdown box, but this only stops it from calculating, it does not hold its previously randomized value.
I'm guessing pretty soon I'm going to have to bite the bullet and start figuring out VB... But if there's a clever way to do this with formulas I'd love to hear it.
Re: Have a cell remember its previously calculated value?
There's no formula that will pause your calculations but you could change your options to manual calculation (F9 will calculate).
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
: How to use code tags, mark a thread solved, and keep yourself out of trouble
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1