+ Reply to Thread
Results 1 to 2 of 2

Formula for grouping based on criteria

  1. #1
    Registered User
    Join Date
    07-04-2018
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    1

    Post Formula for grouping based on criteria

    Hi all!

    We need help in coming out with a formula using Excel

    We run a programme which brings together applicants from different backgrounds to improve their appreciation of diversity. When they register for the programme online, they provide personal data, from which we use three categories to sort them into groups of 12 applicants each. Each of these categories have fixed variables, as listed in the attached excel sheet.


    Using categories 1, 2 and 3, we want to assign group numbers to each applicant, ensuring that

    · all applicants labelled C in category 1 are evenly spread out in all groups,

    · all applicants labelled B are evenly spread out in all groups, and so forth.



    Our earlier attempt was to concatenate the 3 categories and use a COUNTIF on the concatenated code to assign the group numbers. That didn’t work



    Appreciate suggestions!



    Thank you!

    Kelvin
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Formula for grouping based on criteria

    I'm not sure but maybe this?

    Category 1 Category 2 Category 3 Name of applicant
    C
    2
    A A001,A003,A005,A006,A008,A010,A016,A018,A020,A021
    C
    1
    A A002,A011,A012,A015,A019,A024,A025
    M
    1
    A A004,A014,A023
    M
    2
    A A007,A017
    O
    1
    A A009
    I
    2
    A A013
    I
    1
    A A022
    C
    1
    B A026
    M
    1
    B A027
    C
    2
    B A028,A029,A030


    could you show the result example?

+ 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: 1
    Last Post: 12-28-2015, 06:15 PM
  2. Criteria Based Multiple Level Grouping in Excel
    By swagatam2014 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2015, 01:15 PM
  3. [SOLVED] Grouping Row Values Based On Set Criteria
    By RRa in forum Excel General
    Replies: 6
    Last Post: 06-21-2014, 05:21 AM
  4. [SOLVED] automatic response based on grouping criteria via macros
    By nicki_rae22 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-31-2014, 02:13 PM
  5. [SOLVED] Grouping data from two tables (different structure) based on common criteria
    By artie note in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-07-2013, 06:13 PM
  6. Grouping and counting based on several criteria
    By Stroem in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2012, 05:22 AM
  7. [SOLVED] Grouping data based on multiple criteria
    By Thoughtfox in forum Excel General
    Replies: 4
    Last Post: 04-26-2012, 06:12 PM

Tags for this Thread

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