# Google Sheets: Get Random Number From a List With No Repeats

## Get a Random Number From a List With No Repeats in Google Sheets

To generate a random number from a list with no repeats in Google Sheets, you can use a combination of built-in functions. Here's how to do it:

### Step 1: Prepare Your List

Start by entering the items of your list in a column. For example, you could enter your list in column A, starting from A1.

### Step 2: Generate a Randomized List

Next to your list, in column B, create a helper column that will be used to randomize the list.  In cell B1, enter the formula:

=RAND()

This function generates a random decimal number between 0 and 1.

Click on the cell B1, and then drag the fill handle (the small dot at the bottom right corner of the cell) down to apply this formula to the same number of rows as your list in column A.

Note: Each time you or someone else opens the Google Sheets document or when the sheet recalculates, the RAND() function will generate new random numbers, thereby shuffling the list again.

### Step 3: Sort the List Randomly

In a new column, say column C, use the SORT function to sort your original list based on the random numbers in the helper column. The formula in cell C1 would look like:

=SORT(A:A, B:B, TRUE)

This formula sorts column A (your list) based on the values in column B (the random numbers), in ascending order (TRUE).

We hope that this article has helped you and given you a better understanding of how to generate a random number from a list with no repeats in Google Sheets. If you enjoyed this article, you might also like our articles on how to find and replace blank cells in Google Sheets and how to use SPARKLINE in Google Sheets to make a progress bar.

# Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
Creates a one- or multiple-day calendar event with optional attendees
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL