Common questions about RANDBETWEEN usually involve formula syntax, changing results, parameter setup, and saving a fixed value. This FAQ covers 4 common issues.
FAQ
Why does RANDBETWEEN show an error after I enter it?
- Check whether the formula starts with
=. - Check the function spelling, parentheses, and argument separator.
- Make sure the lower and upper bounds are valid numbers or valid cell references.
Why does the RANDBETWEEN result change?
- RANDBETWEEN is a random function that updates when the worksheet recalculates.
- The result may refresh after worksheet recalculation or related data changes.
- If you need a fixed result, copy the cell and paste it as a value.
Can I use cell references as the lower and upper bounds?
- Yes. You can use a formula such as
=RANDBETWEEN(A2,B2). - Make sure the referenced cells contain valid numbers.
- After changing the referenced values, check whether the result still stays in range.
How do I keep the current random result from changing?
- Select the cell that contains the RANDBETWEEN result.
- Copy the cell.
- Use Paste Special or paste as values to keep the current result.
Glossary
| Term | Definition |
|---|---|
| RANDBETWEEN | A spreadsheet function that returns a random integer between a lower bound and an upper bound. |
| Lower and upper bounds | The minimum and maximum values that define the random result range. |
| Recalculation | The process of running worksheet formulas again, which can update random function results. |
| Cell reference | A way to use a cell address as a formula argument or calculation input. |