Back to all functions

If we want to decide between which two numbers we want a random whole number, we use the RANDBETWEEN function.
It consist of two arguments: the bottom number, and the top number.
We’ll write Equals, RANDBETWEEN, type in 25 for our bottom number, and 60 for our top number.
We get a random number, without any decimal points, between 25 and 60.
If we would like to get the same result but with decimals as well, we’ll have to use the RAND function.
Using the same values, we’ll write Equals, 25, plus, 35, times, RAND. This is a less intuitive way of getting the same result, only with decimals this time.
This lesson has gone through the RANDBETWEEN function, as well as a variation on the RAND function, which gives us a random number between two given numbers.

Popular courses

The Excel Functions Guide

Deepen and develop your Excel Functions skills

Learn how to efficiently manage databases, clear text in cells, and retrieve values from other tables. The course also walks...

Excel Essentials

Get a better understanding of the Excel workflow

Learn to feel more comfortable in Excel. This course will help quickly develop your knowledge in Excel. Excel Essentials is...

Contact us for assistance in finding right course

Excel for your profession

The Excel course for Procurement and Logistic professionals

Excel for professionals working within procurement and logisticians

In cooperation with organisations and professionals within the industry, Learnesy have developed an Excel course that is adapted to those...

Looking for something custom made? Contact us and we will make sure to meet your requirements.