+ Reply to Thread
Results 1 to 4 of 4

Convert table to list

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    Manitoba
    MS-Off Ver
    Excel 2007
    Posts
    2

    Angry Convert table to list

    Hi I am having difficulty converting a table to a list. However the table is a database of distances between cities and the list I want to create needs to omit repetitive data (ex since City 1 to City 2 will be listed first City 2 to to City 1 can be omitted). I also want to omit City 1 to City 1 data as it is redundant. I have attached a spreadsheet demonstrating my data and what I am looking for. Is this possible? Any help with be greatly appreciated.

    Kevin
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,962

    Re: Convert table to list

    Range Name
    B2:F6 DistanceMatrix
    B1:F1 Destination
    A2:A6 Origin
    C13:
    Please Login or Register  to view this content.
    and copied down
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-10-2012
    Location
    Manitoba
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Convert table to list

    Thanks Ben

    This works great. However is there a way to automatically omit the 'city to city' scenarios which have already been included to create the list (ie if City 1 to City 2 is listed than I don't want to list City 2 to City 1)? Your solution is dependent on this part of the list being created already. The reason I ask this is because the table i am using is 140 x 140 and automating this step would be a huge help. Thanks for your help.

    Regards,
    Kevin

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,962

    Re: Convert table to list

    Here's a macro version:
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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