How to generate random text from the list?

In this Excel tutorial, you learn how to generate random text from a list.

Random text generator formula

Suppose that your list is in the A1: A10 cell range. You have some text there from which you want to generate one in some other cell.

Here is an Excel formula that solves your problem:

=INDEX(A1:A10,RAND()*ROWS(A1:A10)+1)

Generating Random text based on list

Drag it down to the number of cells you need it in.

Remember that the formula generates a new random selection each time the spreadsheet recalculates. This means your random values will change whenever you edit any cell or open the file. This dynamic behavior is useful when you want continuously changing random selections, but it can be inconvenient if you want to preserve specific random values for later reference.

If you want to keep specific random values without them changing, select the cells containing random results, copy them, and paste them as values only. This action replaces the formulas with static text values that won’t recalculate.

You can easily modify this formula for different list sizes. Simply replace A1:A10 with your actual cell range. The formula automatically adjusts to count the rows in your range, making it flexible for lists of any size.

See also  How to use countif to remove duplicates?