=IF($AI$2<>"",AH34,$AJ$2+($AK$2-$AJ$2)*rand())

That formula is used to freeze rand() value.

I am able to "Link to spreadsheets" on Google Docs / Google Slides, but right after the copy, it asked to "Update". I clicked the "Update" and it show a different value.

RAND() can't be frozen by using a formula as it's recalculated every time that a spreadsheet is opened and following the rules of File > Spreadsheet settings... > Calculation.

Instead of RAND() you could try to use a script.

Related

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.