+ Reply to Thread
Results 1 to 6 of 6

Finding commonalities among various groups

Hybrid View

  1. #1
    Registered User
    Join Date
    11-23-2021
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2016
    Posts
    3

    Finding commonalities among various groups

    I'm not sure if this is something excel can do, but I'll try my best to describe it. I am an administrator for a Learning Management System and the learner groups I work with have varying degrees of crossover with the training they receive. I assign training in packaged curricula, containing multiple courses. I'm wondering if excel can use this information to help me design the smallest number of unique curricula while still covering the training needs of each learner group.

    For example:

    Learner Group Training required
    Location A Course 1, Course 2, Course 3
    Location B Course 1, Course 3, Course 4
    Location C Course 1, Course 2, Course 3, Course 4
    Location D Course 1, Course 3, Course 4

    In this example Locations B & D receive the same training requirements (Courses 1,3, & 4), so I could assign the same curricula to both of these locations. So in total for this example, I would need 3 curricula: one for Location A, one for Location C, and one for Locations B & D. In reality though I have over 100 locations and 25 different courses, so applying this on a bigger scale could save a lot of duplicate work and confusion down the road.

    Is this something excel could help with? Would a pivot table work? Is there a name/word for this?

    Thanks!

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Finding commonalities among various groups

    See attached. It appears you're just after a way to number successive curriculum and identifying unique ones with different numbering and ideintical ones being number in accordance with earlier numbering. If so this should work.

    I placed your data in columns B3 and C3 (and down) and put a number 1 in D4 to start things off then the following formula in D5 and drag down to teh bottom of your data set.

    =IF(SUMPRODUCT(--(C5=$C$4:C4))=0,MAX(C4:$D4)+1,VLOOKUP(C5,$C$4:D4,2,FALSE))
    attached file will be easier to follow though.
    Attached Files Attached Files
    Happy with my advice? Click on the * reputation button below

  3. #3
    Registered User
    Join Date
    11-23-2021
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2016
    Posts
    3

    Question Re: Finding commonalities among various groups

    Hi Crooza,

    Thanks for your help! I used the doc you attached as a template, but when I started to add in location rows (and expanding the number of courses) the formula stops working. This could definitely be user error on my part, but would you mind taking a look?

    You'll notice locations B & E both say they match for Curriculum 2, but Location B contains an additional Course N, which location E doesn't need. There's a similar problem between Locations C & F.
    Attached Files Attached Files

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Finding commonalities among various groups

    Modified formula slightly

    try this instead in D5 and drag down

    =IF(SUMPRODUCT(--(C5=$C$4:C4))=0,MAX($C$4:D4)+1,VLOOKUP(C5,$C$4:D4,2,FALSE))

  5. #5
    Registered User
    Join Date
    11-23-2021
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: Finding commonalities among various groups

    That did the trick! Thought I still had errors for awhile there until learning that VLOOKUP has a 250 character limit. Thanks for your help, and the education!

  6. #6
    Forum Contributor
    Join Date
    04-15-2013
    Location
    Singapore, Melbourne
    MS-Off Ver
    Office 365
    Posts
    167

    Re: Finding commonalities among various groups

    try this in D4 and drag down

    =MATCH(C4,$C$4:$C$9,)
    Row row row your boat
    Gently down the stream

+ 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. Finding Differences in Groups
    By oleander in forum Excel General
    Replies: 3
    Last Post: 05-16-2019, 10:27 PM
  2. Using IF, VLOOKUP, and ISNA to find Commonalities
    By ExcelBeginner1203 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-27-2014, 05:30 PM
  3. VBA for finding max from groups of cells
    By kelly86 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-17-2014, 11:18 AM
  4. [SOLVED] Finding date groups
    By OAM in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-24-2013, 11:47 PM
  5. Finding MAX interval from 2 groups of data
    By Grimace in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2011, 02:53 AM
  6. Finding Commonalities b/w 2 Columns
    By albert5445 in forum Excel General
    Replies: 3
    Last Post: 04-20-2010, 03:28 PM
  7. Reports from Commonalities In Spreasheets
    By rmccaul3 in forum Excel General
    Replies: 0
    Last Post: 08-11-2006, 12:50 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