+ Reply to Thread
Results 1 to 12 of 12

Combining two lists in two equal lists

  1. #1
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Combining two lists in two equal lists

    Hello,

    I'm looking to find a solution in which there is a method to have uneven two lists and have become two lists with matching values. I attempted to use an ISNUMBER Match function but it wouldn't go past one value...I enclosed an sample of this problem in this post...Anytime dedicated to finding a solution would be appreciated...


    Thank You
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-06-2016
    Location
    Cluj, Romania
    MS-Off Ver
    2007-2010
    Posts
    220

    Re: Combining two lists in two equal lists

    Hi,
    for list1 (F2) use this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and for list2 (G2) this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: Combining two lists in two equal lists

    Hi TudyBTH

    Thanks for taking time to look into this...I tried the formula and I have a question is there a way to have List 1 match up with only similar values to Match 2 I enclosed another example in this post
    Attached Files Attached Files

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Combining two lists in two equal lists

    For list 1 (u can put in D2):
    =IFERROR(INDEX($B$2:$B$10,CEILING(ROWS(A$1:A1)/4,1)),"")

    For List 2 (in E2 and copied down):
    =IF(ROWS(E$2:E2)>3*ROWS($C$2:$C$5),IF(ROWS(E$2:E2)-14>3*ROWS($C$6:$C$9),INDEX($C$10:$C$13,MOD(ROWS(E$2:E2)-13,ROWS($C$10:$C$13))+1),INDEX($C$6:$C$9,MOD(ROWS(E$2:E2)-1,ROWS($C$6:$C$9))+1)),INDEX($C$2:$C$5,MOD(ROWS(E$2:E2)-1,ROWS($C$2:$C$5))+1))

    I can't upload the file here but in external links
    https://simpan.ugm.ac.id/s/3zcvw1dOsJkq2WR
    Last edited by azumi; 08-22-2016 at 09:16 PM.

  5. #5
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: Combining two lists in two equal lists

    Hello @Azumi,

    Thanks for taking a gander at this I enter this formula and List1 it didn't match with List2 it seemed to offset List1 by a few rows...I provided a sample of this within this post..

    Thanks again
    Attached Files Attached Files

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Combining two lists in two equal lists

    You can just add IF function to do that for list 2

    =IF(D2="","",IF(ROWS(E$2:E2)>3*ROWS($C$2:$C$5),IF(ROWS(E$2:E2)-14>2*ROWS($C$6:$C$9),INDEX($C$10:$C$13,MOD(ROWS(E$2:E2)-13,ROWS($C$10:$C$13))+1),INDEX($C$6:$C$9,MOD(ROWS(E$2:E2)-1,ROWS($C$6:$C$9))+1)),INDEX($C$2:$C$5,MOD(ROWS(E$2:E2)-1,ROWS($C$2:$C$5))+1)))

  7. #7
    Forum Contributor
    Join Date
    05-06-2016
    Location
    Cluj, Romania
    MS-Off Ver
    2007-2010
    Posts
    220

    Re: Combining two lists in two equal lists

    with three helper columns and five define names, formulas will look like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    for helper columns use array formulas (with Ctrl+Shift+Enter):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    where:
    "list1" is defined with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    "list2" with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    helper column 1 "hcol1" with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    "hcol2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    "hcol3"
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    see attached
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: Combining two lists in two equal lists

    Hi TudyBTH

    Thanks for the idea but I seem to be still encountering a problem with that formula you suggested it worked for a limited amount of data but the more data was added the more it began to produce odd results. I suppose the true purpose of this problem is to seek if there is a relative method to have two lists in which list 1(groups) match against the relevant words in list 2(words)....I have a VERY large list and was wondering if there could be a solution for this. I provided an example within this post.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    05-06-2016
    Location
    Cluj, Romania
    MS-Off Ver
    2007-2010
    Posts
    220

    Re: Combining two lists in two equal lists

    Hi,
    In this case I recommend using VBA.

  10. #10
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: Combining two lists in two equal lists

    @TudyBTH

    I was thinking along the same lines..any recommendations about how to go about this is welcomed...

  11. #11
    Forum Contributor
    Join Date
    05-06-2016
    Location
    Cluj, Romania
    MS-Off Ver
    2007-2010
    Posts
    220

    Re: Combining two lists in two equal lists

    Ok,
    First check the attached file if it does what you want.
    I assumed that input data is in columns B,D,F,H,I.
    The lists are updated when changes occur in the data input.

    see attached
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: Combining two lists in two equal lists

    @TudyBTH

    This is BRILLIANT!!!! This works perfectly..this is exactly the result I was looking to achieve TudyBTH..Thank you for helping finding a solution to this problem!!

    Thanks again!

+ 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. Combining lists
    By anakaine in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2013, 06:16 PM
  2. Combining lists together
    By apatel615 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-07-2012, 03:26 AM
  3. Combining lists
    By sobel in forum Excel General
    Replies: 5
    Last Post: 07-13-2012, 02:48 PM
  4. Help combining lists
    By kirioko in forum Excel General
    Replies: 6
    Last Post: 03-14-2009, 12:03 PM
  5. Combining lists
    By EdMac in forum Excel General
    Replies: 3
    Last Post: 09-01-2006, 06:55 AM
  6. [SOLVED] combining two lists
    By karmaisgreat in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2006, 04:20 PM
  7. Combining 2 lists
    By stevenrhonda in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-05-2006, 06: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