+ Reply to Thread
Results 1 to 3 of 3

Relate entries on one list to those on another list

  1. #1
    Forum Contributor
    Join Date
    07-24-2013
    Location
    New Zealand
    MS-Off Ver
    Excel 2010
    Posts
    107

    Relate entries on one list to those on another list

    G'Day

    I need to relate the entries in one list to those of the same in another list using a shared column name as the reference. Both lists are on the same sheet. A sample workbook with the code along with an example sheet of what I need to achieve is attached.

    The code I have been playing with is from a working example which applied the code to columns running from right to left, but I need it to work from columns left to right - and this is where I have come unstuck. So I need some expert input please.

    The issue:

    In the “COMMON” section (columns J:L) of the TEMP sheet, every entry in the “Name” column (J) has a Country 1 (K) or a Country 2 (L) assigned to them. There will only be one or the other assigned.

    In the “EVERYONE” section (columns A:H) of the same sheet, I have mostly the same names in the “Name” column (B), and duplicates thereof, but they do not have their country associated in either column D or F.

    I need the code to locate the same names in this sections “Name” column (B), where they exist, then associate the same Country 1 (K) or Country 2 (L) entries as listed in the “Common” section, into the respective Country 1 (D) or Country 2 (F) columns in this ”Everyone” section. And not all names will have an associated Country to relate.

    An example of what I want as the outcome is shown under on Example sheet.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Relate entries on one list to those on another list

    try
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Relate entries on one list to those on another list

    Another Option...
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

+ 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. Replies: 4
    Last Post: 07-28-2015, 01:54 PM
  2. Create dropdown list in Excel that will only list unique entries
    By MissAudrey in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-22-2015, 04:56 PM
  3. Replies: 4
    Last Post: 01-31-2014, 06:22 AM
  4. Reduce a list of multiple entries to a single list
    By Jogier505 in forum Excel General
    Replies: 6
    Last Post: 03-24-2011, 09:39 PM
  5. Replies: 0
    Last Post: 10-31-2007, 05:20 AM
  6. [SOLVED] List all contracts that relate to a single part number
    By Ashley Morris in forum Excel General
    Replies: 2
    Last Post: 05-15-2006, 11:25 PM
  7. [SOLVED] Need to create unique list from list of multiple entries
    By Jeff in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-17-2005, 01:05 AM

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