+ Reply to Thread
Results 1 to 3 of 3

Random Number not more than 4 times

  1. #1
    Forum Contributor
    Join Date
    11-14-2007
    Posts
    111

    Random Number not more than 4 times

    I have a list of people that need to be dicided into groups of four and done several times. I would like to do this as random as possible (it is a teamwork thing) but when i use Randbetween it gives me six number 1 and two number 3.

    Is there a way to make randbetween only give me four of any number in a range?

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Random Number not more than 4 times

    My solution is not the nicest, but I hope it will help you.
    Attached Files Attached Files
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Random Number not more than 4 times

    My take on it since it's groups of names you want and no duplications in a single group can occur. Click the button and a new set will be generated for you.

    Put in your own names.
    Attached Files Attached Files
    Last edited by JBeaucaire; 05-28-2009 at 11:51 AM. Reason: Better results if list is shortened.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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