+ Reply to Thread
Results 1 to 2 of 2

Is it possible to make exact combinations of different elements dynamically.

  1. #1
    all4excel
    Guest

    Is it possible to make exact combinations of different elements dynamically.

    Is it possible to make exact combinations of different elements dynamically.

    I can get the count of the pairs using the COMBIN Function.

    Example :
    Column A Column B Column C
    Elements Pairs No of Pairs that can be formed
    A 2 15
    B
    C
    D
    E
    F

    [ C2=COMBIN(COUNTA($A:$A)-1,$B$2) ]

    However, I want some Logic/Formulas in Excel and not in VBA preferably which can display the values..

    Column D Column E Column F Column G Column H
    Pair
    I II III IV V
    AB BC CD DE EF
    AC BD CE DF
    AD BE CF
    AE BF
    AF

    The Roman numeral indicate the Ist, IInd, IIIrd, IVth and Vth pairs respectively.

    Is it possible to display the different combinations the way it is shown above for different Count of elements as well as the Number of Pairs required..

  2. #2
    all4excel
    Guest

    Anyone..!

    Anyone, I know this is indeed very tough considering that it should also be Dynamic...

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Why the prepossession against VBA?

  4. #4
    all4excel
    Guest

    Question Shg...nothing against VBA but..

    Quote Originally Posted by shg
    Why the prepossession against VBA?
    Shg,

    I have nothing against VBA, however I have better command in MS Excel and not able to comprehend VBA completely due to time constraints.

    With Excel I can have complete control of the coding or program..
    However, I do understand the fact that there are some things which would only be possible in VBA and not in Excel alone but since I am not fully conversant with VBA, i request for help in Excel..

    I somehow not been able to devote time to VBA...

    Anyways is this possible in Excel?

  5. #5
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Quote Originally Posted by all4excel
    Shg,....I somehow not been able to devote time to VBA...
    Somehow i don't think you want to looking back over the many posts you have been helped with!
    Quote Originally Posted by all4excel
    Anyways is this possible in Excel?
    Yes it's possible......VBA is part of Excel.
    Not all forums are the same - seek and you shall find

  6. #6
    all4excel
    Guest

    Simon...!

    Quote Originally Posted by Simon Lloyd
    Somehow i don't think you want to looking back over the many posts you have been helped with!Yes it's possible......VBA is part of Excel.
    Simon,

    I would really appreciate if you could provide a solution in either Excel Formulas or VBA, but please provide explanation as I really am not so comfortable wit VBA..

    Per my query the No of elements as well as the Pair Number both can change...

    I am making a point to understand VBA, however it will take me some time.
    So please help me in this...

  7. #7
    all4excel
    Guest

    Bump...

    Simon,

    I am trying to get handson with VBA but it takes time and moreover the files which I create are used by others which sometimes needs intervention and therefore I am slightly averse to VBA, if someone makes any changes or edits it will be difficult for me to trace...
    Last edited by all4excel; 06-11-2008 at 01:54 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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