+ Reply to Thread
Results 1 to 1 of 1

Assigning group numbers with no duplicate

  1. #1
    Registered User
    Join Date
    11-18-2020
    Location
    Singapore
    MS-Off Ver
    Office 365
    Posts
    1

    Assigning group numbers with no duplicate

    I am planning to create a VBA to help group students from the following criteria:
    1. Gender ( at least 1 female in each group)
    2. Grade (good mixture of each classification)
    3. Type of course (equal number from each course, only 2 different course)
    4. Based on a capped number of student per group

    What I did was ask for input on the max number of student per group then assign female students to the group. If the maximum number of groups reach, it will stop assigning, so this fulfill having at least 1 female in each group

    Please Login or Register  to view this content.
    Now that I have assigned some student to certain group number, how do I exclude certain number when i loop through the list again?

    Eg. I will now assign students with High Distinction into each group but if there is already one student in group 1 with high distinction, I should not assign group 1 again.

    Please Login or Register  to view this content.
    Last edited by kaini; 11-23-2020 at 09:49 AM.

+ 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. Replies: 5
    Last Post: 04-03-2020, 07:25 AM
  2. Assigning scores based on how long ago something happened, stuck on formula
    By blackrosepetals9169 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-20-2019, 04:36 PM
  3. [SOLVED] Help with assigning a sequential number for sub group of a group?
    By AliJWood in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-08-2018, 10:29 AM
  4. [SOLVED] Macro to generate groups randomly of 20 numbers, being 10 of group A and 10 of group B,
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-14-2017, 08:02 AM
  5. Assigning row heights to rows based on group level
    By Zafoquat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2014, 04:19 AM
  6. [SOLVED] numbers stuck as text not able to convert to numbers anybody have a solution?
    By georgeparker88 in forum Excel General
    Replies: 10
    Last Post: 08-07-2012, 08:43 AM
  7. [SOLVED] How can I convert a group of numbers to a group of letters?
    By CarlG in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-18-2006, 10:35 AM

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