
MathLevel: BeginnerAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Example 2
- Related functions
RAND returns a new random number between 0 and 1 on every recalculation — useful for random samples and shuffling.
Syntax
=RAND()
Examples
Example 1
=RAND()
Put next to a list, then sort by it to shuffle the list.
Example 2
=IF(RAND()<10%, "Audit", "")
Randomly pick about 10% of invoices for checking.
RANDBETWEEN · RANDARRAY · SORTBY
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong