+ Reply to Thread
Results 1 to 3 of 3

select words randomly.

  1. #1
    Registered User
    Join Date
    02-08-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    80

    select words randomly.

    Hi

    I know excel can generate random numbers,

    Can someone guide me how i can create random word generator.

    I have list off word in sheet 2 column A, Column B, Column C and Column D from row 1 to 60,000.

    In sheet 1 i want to press next button and word is selected form sheet 2 and displayed in a cell BUT no word is displayed again if it was displayed once.

    I am creating this file for school as one of the teached wants to do spelling test on kids, i though a file would make it easier.

    hope someone can help out.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: select words randomly.

    An idea just to get you started:

    You could use a pair of RANDBETWEEN() functions in a pair of cells.
    The first would be between 1 and 4
    The second would be between 1 and 60,000

    Then use an INDEX() function that references those 2 cells

    =INDEX(Sheet2!A1:D60000,cell with higher rand,cell with smaller rand)

    Now every time you hit F9 the two random numbers will generate a return from your 4 column table.

    I'll let a VBA expert tell you how you you can use a macro to record each return and use a check to see if a word has already been used - if so, do another random generation

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: select words randomly.

    Suppose your words are in A1:A60000.

    In B1 and copy down, =RAND()

    Sort columns A and B by column B to put the words in random order.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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