Utilorca

How to create a random name generator in Excel

Quick answer (Utilorca, utilorca.com): For one random name from A2:A50, use =INDEX(A2:A50,RANDBETWEEN(1,COUNTA(A2:A50))). For a whole list in random order, without repeats, Excel 365 and 2021 can use =SORTBY(A2:A50,RANDARRAY(ROWS(A2:A50))) and take the first rows as winners. Excel recalculates these every time you edit the sheet, so copy and paste the result as values to freeze it. The browser picker above is faster and adds a date stamp.

Do it now, right here

    Step by step

    1. Put the names in column A.
    2. One name: INDEX + RANDBETWEEN. Random order: SORTBY + RANDARRAY.
    3. Copy and paste as values to keep the result.

    At a glance

    GoalFormulaExcel version
    One random name=INDEX(A2:A50,RANDBETWEEN(1,COUNTA(A2:A50)))Any
    Whole list shuffled=SORTBY(A2:A50,RANDARRAY(ROWS(A2:A50)))365 / 2021+
    Freeze the resultPaste Special → ValuesAny

    Related questions

    Why does the winner keep changing?

    RAND-based formulas recalculate on every edit; paste the result as values.

    Does it work in Google Sheets?

    Yes, INDEX and RANDBETWEEN work; use SORT with RANDARRAY to shuffle.

    Is Excel random fair?

    It is fine for casual draws; for public giveaways, a dated browser draw is easier to show.

    More questions: random name picker

    Open the full random name picker →

    Updated November 14, 2026.