+ Reply to Thread
Results 1 to 7 of 7

random number generator

  1. #1
    Registered User
    Join Date
    10-17-2011
    Location
    romania
    MS-Off Ver
    Excel 2010
    Posts
    25

    random number generator

    i want to build a random number generator, that picks the numbers from which to generate from a list that i supplie, and i found this formula:
    Please Login or Register  to view this content.
    the thing is that i need to generate numbers in 4 diferent cells, and i need them to be diferent

    the attachment may be a little more clear.
    Attached Files Attached Files

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: random number generator

    just to pick 4 unique random from an unique list try this
    for more rows try it this second way
    Attached Files Attached Files
    Last edited by martindwilson; 10-22-2011 at 08:51 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-17-2011
    Location
    romania
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: random number generator

    if i enlarge the arrays it doesnt work anymore
    Last edited by thusarix; 10-22-2011 at 09:11 PM.

  4. #4
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: random number generator

    it does fine for me,enlarge how? follow the function to see what its doing adjust ranges as needed
    Attached Files Attached Files
    Last edited by martindwilson; 10-23-2011 at 05:14 AM.

  5. #5
    Registered User
    Join Date
    11-29-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Red face Re: random number generator - 1 to 100 unique numbers

    I would like to create a Unique Random Number Generator in Excel including the numbers 1 through 100 in cells A1:J10; I need to have each number unique, so that any given number does not appear in more than 1 cell at any given press of the Calculate Now button.

    Any Ideas?

    Thanks,

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

    Re: random number generator

    Welcome to the forum, JAMURPHY.

    What you want is readily done in a variety of ways. Please take a few minutes to read the forum rules, and then start your own thred.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: random number generator

    Welcome to the forum, JAMURPHY. However, your post does not comply with rule #2. Please read the rules and then post your question in a new thread. Thanks.
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

+ 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