RANDBETWEEN Google Sheet Formula
Generate Google Sheet RANDBETWEEN Formulas in seconds
Interactive Formula Generator
Formula Generator
Create complex Google Sheets formulas with natural language. Simply describe what you want to calculate.
Upgrade to Sheet Alchemy Pro
Get advanced formulas, batch processing, and priority support
Input
Result
Your formula will be displayed here:
Your formula will appear here
Describe what you want to calculate and click Generate
Pro Features Available
Sheet Alchemy Pro includes additional advanced features to enhance your formula generation.
Advanced Formulas
Complex array formulas and dynamic ranges
Batch Processing
Generate multiple formulas at once
Unlimited History
Save and organize all your formulas
RANDBETWEEN Formula Syntax
Example Use Case
Generating a random integer between two values for discrete sampling
Understanding the RANDBETWEEN Formula
The RANDBETWEEN function in Excel generates a random integer between two specified numbers, inclusive. It’s a step up from RAND, offering whole-number outputs for simulations, games, or random selections.
RANDBETWEEN(1, 10) might give 7, then 3 on refresh. It takes two arguments—bottom and top bounds—producing uniform integers, making it ideal for dice rolls, random IDs, or test data generation.
Why Use RANDBETWEEN?
RANDBETWEEN delivers controlled randomness—think picking lottery numbers or assigning random shifts. Its integer focus and range specificity make it a practical choice for discrete, bounded random tasks.
Example with Sample Data
| Range | Formula | Result (Sample) |
|---|---|---|
| 1 to 10 | =RANDBETWEEN(1, 10) | 7 |
| -5 to 5 | =RANDBETWEEN(-5, 5) | -2 |
| 50 to 100 | =RANDBETWEEN(50, 100) | 83 |
RANDBETWEEN picks integers: 7 from 1-10, -2 from -5-5. It’s a random integer roller.
Explore More Google Sheet Formulas
FACT
Calculating the factorial of a number for permutations or probability
Learn moreHLOOKUP
Looking up a value in the top row and returning a value from a specified row
Learn moreVAR
Estimating sample variance for variability analysis
Learn moreYEARFRAC
Calculating the fraction of a year between two dates
Learn moreODD
Rounding a number up to the nearest odd integer for specific alignments
Learn moreMAXA
Finding the largest value including text and logicals for broader peaks
Learn moreIF
Performing a conditional test and returning different values based on the result
Learn moreAMORDEGRC
Calculating depreciation using the French accounting system's degressive method
Learn moreUnlock the Full Power of Sheet Alchemy
Get access to all our formula generators, script generators, and conversion tools with a free Sheet Alchemy account.
