Excel Formulas to Generate Random Number from Fixed Set of Options!!
Tags: excelformula, excelformulas
Published: 2021-07-09 09:02:05

---
title: Excel Formulas to Generate Random Number from Fixed Set of Options!!
published: true
date: 2021-07-06 05:44:24 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-generate-random-number-from-fixed-set-of-options/
---

As we know, when we use formulas to generate random numbers in Excel, the random numbers are always changing while we double-click on a cell or do some calculations of these random numbers, which may be annoying sometimes. In this tutorial, we are going to look at how to **generate a random number from a Fixed set of options in Excel**. This article will show you some methods to achieve it. Let’s jump 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)

[![Random numbers from fixed set of options](https://geekexcel.com/wp-content/uploads/2021/07/Random-numbers-from-fixed-set-of-options.png)](https://geekexcel.com/excel-formulas-to-generate-random-number-from-fixed-set-of-options/random-numbers-from-fixed-set-of-options/#main)<figcaption id="caption-attachment-48592">Random numbers from fixed set of options</figcaption>

## Generic Formula:

- If you want to generate random numbers from a fixed set of options, you can use the below formula.

**=[CHOOSE](https://geekexcel.com/how-to-use-choose-function-in-microsoft-excel-2013/)([RANDBETWEEN](https://geekexcel.com/how-to-use-excel-randbetween-function-in-office-365/)(1,3),num1,num2,num3)**

## Syntax Explanations:

- **CHOOSE** – This function will help to return a value from the list of value arguments using a given position or index. Read more on the [**CHOOSE Function**](https://geekexcel.com/how-to-use-choose-function-in-microsoft-excel-2013/).
- **RANDBETWEEN** – In Excel, the [**RANDBETWEEN function**](https://geekexcel.com/how-to-use-excel-randbetween-function-in-office-365/) returns the random integer number between the two specified values.
- **Num** – It represents the fixed numbers.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Refer to the below example image.

- Here we are going to fill a range with random numbers from a set of fixed options (i.e. 1,2,4,8,12,14,16).
- So select any cell and type the above-given formula.

[![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/07/Enter-the-formula-20.png)](https://geekexcel.com/excel-formulas-to-generate-random-number-from-fixed-set-of-options/enter-the-formula-345/#main)<figcaption id="caption-attachment-48591">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-21.png)](https://geekexcel.com/excel-formulas-to-generate-random-number-from-fixed-set-of-options/result-493/#main)<figcaption id="caption-attachment-48593">Result</figcaption>

## Wind-Up:

From this tutorial, you can get some clarifications on how to **generate a random number from the fixed set of options in Excel**. Please share your **query** below in the **comment** box.

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 Create Random Number Between Two Numbers!!](https://geekexcel.com/excel-formulas-to-create-random-number-between-two-numbers/)**
- **[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 Generate Random Date between Two Dates!!](https://geekexcel.com/excel-formulas-to-generate-random-date-between-two-dates/)**
- **[Excel Formulas to Calculate the Area of a Trapezoid ~ Easy Tricks!!](https://geekexcel.com/excel-formulas-to-calculate-the-area-of-a-trapezoid/)**