Excel has no built-in "shuffle" button, but you can randomize a list in seconds using a helper column of random numbers and a sort. Put =RAND() next to each item, fill it down, then sort both columns by that random column. Every time you recalculate, the order changes again. This works in Excel for Microsoft 365, Excel 2019/2021, and Excel for Mac; menu labels can differ slightly by version, device, and region.

What You'll Need

  • A list in a single column with one item per row, and a header row if you want to keep the list tidy.
  • A spare empty column next to the list for the random numbers.
  • Excel desktop or Excel for the web. The steps below apply to both, though the ribbon wording may vary slightly.

Step-by-Step

  1. Open your workbook and confirm your list sits in one column, for example A2:A20, with a header in A1 such as "Name."
  2. Click the first empty cell immediately to the right of your first item (for example B2) and type =RAND(). Press Enter. Excel returns a decimal between 0 and 1.
  3. Copy that formula down to every row in your list. The quickest way: select B2, then double-click the small fill handle square at the bottom-right corner of the cell. If the list has gaps, drag the fill handle down manually instead.
  4. Select the whole block, including the header row and the random column. For example, select A1:B20.
  5. Go to the Data tab and click Sort. In the Sort dialog, set Sort by to your random column header (or "Column B" if there is no header), Sort On to Values, and Order to Smallest to Largest. Click OK.
  6. The items are now in a random order. Because =RAND() recalculates whenever the sheet recalculates, the order can change again. To freeze the shuffle, select the random column, copy it, then paste it back as values using Paste Special > Values (or Home > Paste > Paste Values).
  7. Delete the helper column once you are happy with the order. Your list stays shuffled.

Common Mistakes

  • Sorting only one column. If you select just the item column and sort, Excel may ask whether to expand the selection. Always select the item column and the random column together, or choose "Expand the selection" when prompted, otherwise the random numbers no longer line up with the items.
  • Forgetting that RAND recalculates. Pressing F9, editing any cell, or reopening the file can reshuffle the list. Convert the random numbers to values before you delete the helper column if you need a fixed order.
  • Using RANDBETWEEN with a tiny range. =RANDBETWEEN(1,3) creates many ties, so the sort is only partly random. =RAND() gives a near-continuous decimal and far fewer duplicates.
  • Leaving blank rows inside the list. Double-clicking the fill handle stops at the first blank, so part of the list gets no random number and ends up unsorted.

Tips

  • To shuffle only part of a list, put the items you want to randomize in their own block first, then apply the same method to that block.
  • If you want a repeatable shuffle, use =RAND() only once and paste the results as values. A saved file with live RAND formulas will look different each time it is opened.
  • For a quick visual check, add a second helper column with =RANK(B2,$B$2:$B$20) to see each item's position in the shuffled order.
  • Keep a copy of the original list on another sheet before shuffling, so you can restore the original order if needed.

Troubleshooting

  • The list reshuffles every time you open the file. The RAND formulas are still live. Copy the random column and paste it as values, then sort again if needed.
  • Sort does nothing or gives an error. Check that the random column contains numbers, not text. A cell formatted as Text will not sort correctly; change the format to General and re-enter the formula.
  • Some items stay in place. The random column probably has blanks. Fill the formula down to the last row of the list.
  • Two items keep landing next to each other. That is normal randomness. If you need a guaranteed separation, shuffle again or use a more structured method such as dealing items into groups.
  • You accidentally sorted only the item column. Press Ctrl+Z (Cmd+Z on Mac) immediately to undo, then reselect both columns and sort again.

Frequently Asked Questions

Can I shuffle a list without a helper column?

Not reliably. Excel's sort feature needs a key, and RAND is the standard key. You can paste RAND results as values into a spare column, but you still need that column to sort by.

Does this work in Excel for the web?

Yes. RAND, Sort, and Paste Values are all available in Excel for the web. The ribbon layout is slightly different from the desktop app, but the steps are the same.

Will the shuffle be truly random?

RAND produces pseudo-random numbers, which is fine for everyday shuffling such as drawing names or ordering a playlist. For statistical or security-sensitive use, use a dedicated random-number tool instead.

How do I shuffle names for a draw and keep the result?

Shuffle as above, then copy the sorted list and paste it as values into a new sheet. Delete the helper column. The saved order will not change when the file recalculates.

Can I shuffle multiple columns together, such as names and email addresses?

Yes. Put the RAND formula in a column beside the whole block, select all columns including the random one, and sort by the random column. Excel moves entire rows together, so each name stays with its email address.

Why does my shuffled list change when I press F9?

F9 forces Excel to recalculate all formulas, including RAND. Paste the random numbers as values before you rely on a fixed order.