Results 1 to 2 of 2
  1. #1
    psquire is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jun 2013
    Posts
    2

    Consolidate Multiple Names

    Each month I get the previous months data. In that data, I have a list of names that have duplicates in them. Some of the names have last, first middle. Some have just last, first. I want to combine the like names and leave the unlike names not combined.

    I want to combine in this situation
    ex. Smith, Peter
    Smith, Peter W

    I do not want to combine in this situation


    ex. Smith, Peter M
    Smith, Peter W

    My goal is to get the original name in a table with the combined name next to it.

    Original Name New Name
    Smith, Peter Smith, Peter
    Smith, Peter W Smith, Peter

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Parsing names is often not easily accomplished. There is always one that doesn't fit pattern.

    I don't fully understand your examples, especially the second one ('do not want to combine'). Not even sure what you mean by 'combine'. The 'New Name' in the last example just appears to drop initial. If the data is consistent in structure (lastname, firstname [mi]), dropping initial could be fairly easy. But then how will you distinguish between records for Peter W and Peter M?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Incorporating multiple usernames or alternate names
    By mpreston14 in forum Database Design
    Replies: 1
    Last Post: 04-30-2013, 01:32 PM
  2. Can you place Multiple Field Names to a Single Index?
    By VanillaAwesome in forum Access
    Replies: 2
    Last Post: 08-05-2012, 04:40 PM
  3. combining owner name with multiple pet names
    By Doggone in forum Programming
    Replies: 3
    Last Post: 04-03-2012, 10:11 PM
  4. Match and Consolidate
    By Yap in forum Access
    Replies: 3
    Last Post: 12-16-2010, 04:26 PM
  5. Consolidate multiple columns into one
    By COforlife in forum Access
    Replies: 17
    Last Post: 10-19-2009, 01:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums