We have got many instances where we needed to generate a random database or values. “RAND function” is very useful for users who creates random database for various types of working and analysis.
“RAND Function” generates values between 0 to less than 1. We always have output of the “RAND function” in decimals. The formula of function is very simple because it has no arguments and provides the random output.
Syntax: =RAND()
Example: Suppose we need to create a database for the various types of stationery products and their prices for a month.
There is one way to mention the random product prices one by one or we can use the “RAND function” to make the work easy. Here we will go ahead with using function.
Drag the formula to respective cells. i.e. Select Column + Ctrl + D
RANDBETWEEN Function is like the function “RAND” that we leant in above topic. RANDBETWEEN function is used where user needs integer values (not decimal) and between a predefined range.
Syntax: RANDBETWEEN(bottom, top)
Here, “bottom” means the lower value and “top” means higher value in range that you want
Example: You want to prepare a random database for volume of books in a books store with minimum quantity of 10 units and maximum quantity of 100 units. So here we need the various book name and random number of books.
Drag the formula to respective cells. i.e. Select Column + Ctrl + D
Select the data in column -> Menu- > Home-> Copy
Go to -> Menu- > Home-> Paste Values
Please comment with your questions or feedback related to this article.
Want to learn more similar tricks? Please subscribe to us or follow us.
Keep Learning!!
Excel Dark mode reduces eye strain and makes the screen more comfortable to work on in high-contrast settings. Follow this easy tutorial to enable dark mode for both the Excel interface and the spreadsheet cells.
While starting Excelsirji.Com, it is always been critical for me to find the best to amaze the viewer experience. So I spent many hours on web to read, explore amazing excel content which I really…
SUM Function in Excel Excel is a mathematical spreadsheet where you can perform multiple calculations with the help of Excel Formulas. These are automated formulas which refreshes automatically once you refresh your data in a…
LOWER function is used for changing the format of any text or string to LOWER case.
If you need to keep This quick guide explains what Excel circular references are and why you should be careful when using them. You’ll also learn how to check for, find, and remove circular references in Excel worksheet.a circular reference, it will show you how to turn on and use circular formulas safely
You tried to enter a formula in your Excel sheet, but it’s not working. Instead, Excel is showing you a message about a circular reference. Is that why you’re here? 🙂
Thousands of people run into this issue every day because they accidentally make an Excel formula try to calculate its own cell. When this happens, Excel gives the following error message:
In Excel, a line break lets you finish one line of text and begin another within the same cell. It helps create separate lines of information without needing to move to a different cell.