+ Reply to Thread
Results 1 to 4 of 4

Permutation Combination

  1. #1
    Registered User
    Join Date
    12-01-2008
    Location
    India
    MS-Off Ver
    Microsoft 365 Enterprise - Excel version2301
    Posts
    63

    Permutation Combination

    Hi ,

    I have List A and List B , I want to produce the result as shown in the Output Column, Is there any formula to have this permutation Combination output?

    Thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Permutation Combination

    I think there may be a shorter formula using LOOKUP but this solution should work

    =(INDEX($A$2:$A$100,INT(((ROW(A1)-1)/COUNT($B$2:$B$100))+1))&"."&INDEX($B$2:$B$100,MOD(ROW(A1)-1,5)+1))+0

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Permutation Combination

    This extends ChemistB's solution to be generalized to work with any number of entries in either column. It assumes all entries are numbers, and headers in row 1, as shown in the example. Use in D2 and copy down as far as needed.

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    12-01-2008
    Location
    India
    MS-Off Ver
    Microsoft 365 Enterprise - Excel version2301
    Posts
    63

    Re: Permutation Combination

    Quote Originally Posted by ChemistB View Post
    I think there may be a shorter formula using LOOKUP but this solution should work

    =(INDEX($A$2:$A$100,INT(((ROW(A1)-1)/COUNT($B$2:$B$100))+1))&"."&INDEX($B$2:$B$100,MOD(ROW(A1)-1,5)+1))+0

    Does that work for you?

    Many Thanks this works.

    Amarjeet

+ 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