+ Reply to Thread
Results 1 to 4 of 4

Generating a random name

  1. #1
    Registered User
    Join Date
    09-17-2015
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    72

    Generating a random name

    What is the formula to generate a random name? I have 1000 students records and I'd like to have for each row a student name randomly.

    Is there a formula to generate that?

    Thanks.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Generating a random name

    Generating a random list of names with no repeats

    in A1:A1000 put the names
    in B1:B1000 put =RAND()
    in C1:C1000 put =INDEX(A$1:A$1000,MATCH(SMALL(B$1:B$1000,ROW()),B$1:B$1000,0))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    09-17-2015
    Location
    Israel
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: Generating a random name

    Not accurate. I'd like to have the name being generated and not putting the name.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Generating a random name

    Maybe with this

    Enter formula in C2

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    v A B C D
    1 Names Random Name
    2 John Lisa Press F9 to change names
    3 Steve
    4 Luke
    5 Mary
    6 Lisa
    7 Jennifer
    8 Mark
    9 Alex
    10 Brian
    11
    12
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Generating Random Numbers
    By darkblueblood in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-17-2014, 03:10 AM
  2. Generating a list of Random numbers of random length...
    By Growl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2013, 12:10 PM
  3. Generating random number
    By ASP__DEVELOPER in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2012, 01:06 AM
  4. generating random number & 0s and 1s
    By nynamyna in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2011, 05:01 PM
  5. Random number generating
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-14-2010, 03:39 PM
  6. Generating a Random Number of Random Numbers
    By Garrus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2010, 09:39 AM
  7. [SOLVED] generating a whole random # from a list
    By Arturo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2005, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1