RAND function
Returns a random number between 0 and 1
Syntax
RAND()Square brackets indicate optional arguments.
Arguments
| Argument | Required | Meaning |
|---|
This function takes no arguments.
Try RAND
Generate a decimal from zero up to one
=RAND()RAND draws a decimal greater than or equal to 0 and less than 1. Recalculate to draw again. The check verifies the observed interval and a RAND call, so there is no single published number to copy. One draw cannot demonstrate the distribution or independence of a random generator.
Checks for this calculation:
- G2: Number from 0 up to, excluding 1.
Output: 1 rows × 1 columns. Keep RAND in the formula for this exercise. The check applies to this calculation's output.
Reference workbook results appear after recalculation in a compatible spreadsheet app. Current-data downloads refresh the results shown here. Keep formulas to recalculate later, or select Freeze results to save fixed values.
Inspect the current formula
Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.
Read the formula, one argument at a time
Explore the written function calls and their inputs. The calculation result belongs to the complete formula.
RAND · top-level call
=RAND()This call has no written arguments.
RAND reference ↗Follow the cells behind a result
Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.
The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.
Reference and compatibility
Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.