+ Reply to Thread
Results 1 to 8 of 8

Excel/Math question

  1. #1
    Registered User
    Join Date
    11-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    8

    Excel/Math question

    I am trying to structure a logical argument to answer a question.

    The question is: what number of unique combinations can be made from 6 separate categories when there are 925 total items among all 6 categories with some overlap, a total of 650 unique values without overlap, and some of the numbers within the 6 categories count for both categories!?

    Category 1: 158 values
    Category 2: 168 values
    Category 3: 296 values
    Category 4: 69 values
    Category 5: 117 values
    Category 6: 117 values
    TOTAL: 925 // Unique without value overlap: 650

    I was using the combin function to get unique values, so =COMBIN(650, 6), or 1.02352E+14, however, how do I answer the question of sometimes needing less than 6 in a combination because some values count as more than one category???? Or am I over-thinking this and using the unique value of 650 automatically does that?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Excel/Math question

    I don't understand your question at all. Can you give an example?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Excel/Math question

    Okay. A student takes one course from each category, for a total of 6 courses. That same student may find that they can take 1 course that counts for two of the categories because it is listed under more than one category, meaning that they might only take 5 courses.

    If there are 925 courses overall, 650 when all duplicates are eliminated, how many unique combinations of courses are possible across all 6 categories?

    Keep in mind that taking course A, course B, and course C is the same as taking course B, course C, and course A. Only unique combinations are needed. I think using the formula N!/K! * (N-K)!, or COMBIN(650,6), will do that - but I'm not a mathematician and I am still trying to figure it out. My concern is the use of 6 for K in the formula forcing 6 combinations where they might not be needed, although using the unduplicated number of courses may solve that problem.

    Does that help?
    Last edited by natetheblade; 11-19-2013 at 03:53 PM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Excel/Math question

    I think you need to solve the problem in parts and total the result, and there will be a lot or parts:

    Take one class non-overlapping class from each category, or,

    Take one class that covers two categories and one non-overlapping class each from the other five, or

    Take one class that covers two categories, one class that overlaps two other categories, and one non-overlapping class each from the other four, or

    ...


    Or, generate all 250 choose 6 combinations and discard those that redundantly cover any categories.

  5. #5
    Registered User
    Join Date
    11-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Excel/Math question

    Hmm..... is there any easy way to do what you described in Excel?

    Some formulas, conditional formatting, or functions?

    Thanks for the tip!

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

    Re: Excel/Math question

    No easy way, no.

    And what would you do if you had such a list? Where would you store the resulting 600TB file if Excel could create one?
    Last edited by shg; 11-19-2013 at 04:41 PM.

  7. #7
    Registered User
    Join Date
    11-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Excel/Math question

    I just need a number, not a list. I was hoping that I could figure out the possible number of unique combinations.

    No numbers in academia are ever easy.

    I'll mark the problem as solved. It doesn't appear as if I can do much more with the issue for now.

    Much appreciated.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Excel/Math question

    This would be a good time for the academician to buy a book on combinatorics

+ 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. An Excel math question
    By nohotash in forum Excel General
    Replies: 4
    Last Post: 03-05-2010, 01:54 PM
  2. [SOLVED] How do I ? math/excel question
    By Madduck in forum Excel General
    Replies: 3
    Last Post: 07-26-2006, 12:45 AM
  3. [SOLVED] Math involved. Excel speed optimization question. UDF vs. longer excel equation
    By Abe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-05-2006, 10:20 AM
  4. [SOLVED] math question
    By tedlesniakowski@gmail.com in forum Excel General
    Replies: 4
    Last Post: 06-02-2006, 08:35 PM
  5. Replies: 3
    Last Post: 02-16-2006, 07:00 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