Prevent sheet from recalculating RAND(),

excel?

Board Regular
Joined
Sep 14, 2004
Messages
143
Office Version
  1. 365
Platform
  1. Windows
I need to prevent my sheet from constantly recalculating the RAND() function on the sheet any time I do something.

I tried to change the Calculation Options to manual, but that was for Excel and not my specific sheet.

My Sheet, Cases (2), has multiple RAND() functions but once I generate the numbers I need it to stay the same until I need to regenerate them.

How do I turn off Automatic Calculation for this sheet only so I can do other things on this sheet, enter data and use formulas on other sheets and open/close the file without changing the numbers until I need a new set of numbers generated?

Thanks
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I think you'd have to select those RAND values and do a "paste special values". That won't, unfortunately, enable you generate a new set of RAND values.
I'm guessing you'd have to set the cells that use RAND within a macro to then reset them and paste the values again.
 
Upvote 0
I don't know structure of your data and where RAND() is but maybe you can use TimeStamp for RAND(), eg.
Code:
[B][COLOR="#0000FF"]B2:[/COLOR][/B] =IF(A2="","",IF(B2="",RAND(),B2))
with iteration enabled
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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