Excel Formulas to Generate Random Value from List or Table ~ Quickly!!
Tags: excelformula, excelformulas
Published: 2021-07-12 03:21:37

---
title: Excel Formulas to Generate Random Value from List or Table ~ Quickly!!
published: true
date: 2021-07-06 12:08:58 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-generate-random-value-from-list-or-table/
---

Excel allows us to get a random value from a list or table, by using the **[INDEX](https://geekexcel.com/index-function-in-microsoft-excel-365-how-to-use/)**, **[RANDBETWEEN](https://geekexcel.com/how-to-use-excel-randbetween-function-in-office-365/)**, and **[ROWS](https://geekexcel.com/use-rows-function-in-microsoft-excel-365-simple-methods/)** functions. Now you have to **generate a random value from a table or list in Excel**. Let’s step into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Generate random value from a list or table](https://geekexcel.com/wp-content/uploads/2021/07/Generate-random-value-from-a-list-or-table.png)](https://geekexcel.com/excel-formulas-to-generate-random-value-from-list-or-table/generate-random-value-from-a-list-or-table/#main)<figcaption id="caption-attachment-48622">Generate random values from a list or table</figcaption>

## Generic Formula:

- If you want to get a random value from a table or list, you can use the below formula.

**=[INDEX](https://geekexcel.com/index-function-in-microsoft-excel-365-how-to-use/)(data,[RANDBETWEEN](https://geekexcel.com/how-to-use-excel-randbetween-function-in-office-365/)(1,[ROWS](https://geekexcel.com/use-rows-function-in-microsoft-excel-365-simple-methods/)(data)),1)**

## Syntax Explanations:

- **INDEX** – In Excel, the **[INDEX function](https://geekexcel.com/index-function-in-microsoft-excel-365-how-to-use/)** returns the value at a given position in a range or array.
- **RANDBETWEEN** – This function helps to return the random integer number between the two specified values. Read more on the **[RANDBETWEEN function](https://geekexcel.com/how-to-use-excel-randbetween-function-in-office-365/)**.
- **ROWS** – The Excel **[ROWS function](https://geekexcel.com/use-rows-function-in-microsoft-excel-365-simple-methods/)** returns the count of rows in a given reference.
- **Data** – It represents the input ranges.
- **Percentage** – It specifies the percentage of the total.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.

## Practical Example:

Let’s consider the below example image.

- First, we will enter the input values in **Column B** , and **Column C**.
- Here we are going to find out the random values.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/07/Input-Ranges-24.png)<figcaption id="caption-attachment-48623">Input Ranges</figcaption>

- Select any cell and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/07/Enter-the-formula-23.png)<figcaption id="caption-attachment-48625">Enter the formula</figcaption>

- Finally, press the ** ENTER**  key, you can get the result as shown below.

![Result](https://geekexcel.com/wp-content/uploads/2021/07/Result-24.png)<figcaption id="caption-attachment-48624">Result</figcaption>

## Bottom-Line:

From this tutorial, you can get some clarification on **how to get a random value from a table or list in Excel**. If you have any **issues** regarding this article or any unresolved **queries** , please **comment** in the comment box below. We will assist you.

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Read Ahead:

- **[Excel Formulas to Get the Profit Margin Percentage ~ Quickly!!](https://geekexcel.com/excel-formulas-to-get-the-profit-margin-percentage/)**
- **[How to Insert a Date or Formatted Date in Excel Office 365?](https://geekexcel.com/how-to-insert-a-date-or-formatted-date-in-excel-office-365/)**
- **[Excel Formulas to Calculate the Surface Area of a Cone ~ Easy Tricks!!](https://geekexcel.com/excel-formulas-to-calculate-the-surface-area-of-a-cone/)**
- **[Excel Formulas to Get the Percentage Discount ~ Useful Tricks!!](https://geekexcel.com/excel-formulas-to-get-the-percentage-discount/)**