+ Reply to Thread
Results 1 to 7 of 7

Combinations of subtraction between members of same subgroup in several groups.

  1. #1
    Registered User
    Join Date
    04-27-2014
    Location
    Umea, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    6

    Exclamation Combinations of subtraction between members of same subgroup in several groups.

    Hello, I need a help with combinations. I have a data that looks like:

    1 a data_1a
    1 b data_1b
    1 c data_1c
    2 a data_2a
    2 b data_2b
    3 a data_3a

    Is there a way to automatically make all possible combinations of deduction between members of group 1 only then of group 2 only etc? So it would look like:

    data_1a-data_1b
    data_1a-data_1c
    data_1b-data_1c
    data_2a-data_2b
    data_2a-data_2c
    data_2b-data_2c

    Combinations between letter indicators but not between number indicators.

    Thank you for help in advance! BTW groups are different in size starting from 2 till 8 members. Won't this cause any troubles?
    Last edited by Excel_under_attack; 04-27-2014 at 02:58 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Combinations of subtraction between members of same subgroup in several groups.

    Are the two characters in each row in the same or adjacent cells? Always best to post an example workbook to avoid ambiguity.
    Martin

  3. #3
    Registered User
    Join Date
    04-27-2014
    Location
    Umea, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Combinations of subtraction between members of same subgroup in several groups.

    Hello Mrice! My initial post was misleading a bit sorry for that. They are in adjacent cells, looks like this:

    1 a data_1a
    1 b data_1b
    1 c data_1c
    2 a data_2a
    2 b data_2b
    3 a data_3a

    So what i need is to have data_1a-data_1b; data_1a-data_1c; data_1b-data_1c; data_2a-data_2b; etc

    Combinations between letter indicators but not between number indicators.
    Last edited by Excel_under_attack; 04-27-2014 at 02:56 PM.

  4. #4
    Registered User
    Join Date
    04-27-2014
    Location
    Umea, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Combinations of subtraction between members of same subgroup in several groups.

    Any1? Is it possible?

  5. #5
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Combinations of subtraction between members of same subgroup in several groups.

    What about the other combinations:
    data_1b-data_1a
    data_1c-data_1a
    data_1c-data_1b
    Bernie Deitrick
    Excel MVP 2000-2010

  6. #6
    Registered User
    Join Date
    04-27-2014
    Location
    Umea, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Combinations of subtraction between members of same subgroup in several groups.

    Quote Originally Posted by Bernie Deitrick View Post
    What about the other combinations:
    data_1b-data_1a
    data_1c-data_1a
    data_1c-data_1b
    They does not matter, I mean they can be there, since they would give same absolute values as reverse ones E.g. data_1a-data_1b = |data_1b-data_1a|, I then will just remove duplicates, which will give me the ones I need.

  7. #7
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Combinations of subtraction between members of same subgroup in several groups.

    Try this

    Please Login or Register  to view this content.
    I've assumed that there is a header row and that column E is OK to dump the combinations into.
    Last edited by mrice; 04-29-2014 at 03:54 PM.

+ 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. [SOLVED] Need a Formula That Groups Number Combinations
    By artiststevens in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2014, 02:54 PM
  2. create combinations from number groups...
    By stewart08 in forum Excel General
    Replies: 3
    Last Post: 02-21-2009, 01:11 PM
  3. 3Axis Multiple groups with subgroup Bar Chart please help!
    By The_Fairy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-12-2006, 12:14 AM
  4. Replies: 0
    Last Post: 01-07-2006, 04:10 AM
  5. Replies: 0
    Last Post: 01-07-2006, 04:10 AM

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