+ Reply to Thread
Results 1 to 7 of 7

create multi-column list from multiple sheets

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    30

    create multi-column list from multiple sheets

    create and combine lists.xlsx
    Hello,
    pls see attached file as an example. In sheet "input1" I have a list of country / city pairs (1 column for each). The same for sheet "input2" but this time the columns are separated and not in the same position. I am looking for a way to create a list of the UNIQUE pairs of country / city, i.e. eliminate duplicates.
    Please note the following:
    From time to time the length of each input list may not be the same
    The actual file may be more complicated, i.e. more than 2 columns
    The colors are just to help me explain.
    Thank you

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: create multi-column list from multiple sheets

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: create multi-column list from multiple sheets

    FWIW:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-13-2013
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    30

    Re: create multi-column list from multiple sheets

    Thank you stnkynts.
    It took me much more to understand how some of the things work than it took you to write it!
    In addition, I learned some things that I did not know. Some I could not understand but time is on my side.
    What's more important I was able to modify it and deal with more columns.
    A small disadvantage I think is that when a cell in the first column is blank then I will miss the pair...but that's not important in my case (at least for now)
    thanks again!

  5. #5
    Registered User
    Join Date
    03-13-2013
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    30

    Re: create multi-column list from multiple sheets

    Thank you JOHN H. DAVIS!
    Unfortunately I get an error towards the end with
    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: create multi-column list from multiple sheets

    What's the error?

  7. #7
    Registered User
    Join Date
    03-13-2013
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    30

    Re: create multi-column list from multiple sheets

    It's a bug...it does not work...and when i check...the part I copied is highlited

+ 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. create one list from multiple sheets
    By ishi2344 in forum Excel General
    Replies: 4
    Last Post: 03-10-2014, 10:51 AM
  2. Create multiple workbooks with multiple sheets from a list
    By Angrypirate in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-20-2014, 01:54 PM
  3. Replies: 19
    Last Post: 10-05-2012, 01:03 PM
  4. [SOLVED] VBA to create a list from multiple sheets
    By Jerums in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2012, 03:23 PM
  5. Create a user form with a multi-column list box
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2009, 11:33 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