+ Reply to Thread
Results 1 to 4 of 4

Mail Merge Help: Creating 1 letter - person has multiple lines of data (duplicate IDs)

  1. #1
    Registered User
    Join Date
    10-14-2014
    Location
    no where, nw
    MS-Off Ver
    idk
    Posts
    1

    Mail Merge Help: Creating 1 letter - person has multiple lines of data (duplicate IDs)

    Hi all,
    I searched the forum, but I had trouble finding the answer.

    I have a database (example attached), and I need to contact over 1,000 people.

    The problem...

    I want to contact people about their missing items.

    An individual with 3 missing items will have 3 letters created, instead of 1.

    How do I create a mail merge that accounts for duplicate IDs; so that the mail merge will create 1 letter with the missing items, instead of 3?

    Excel Help.xlsx

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Mail Merge Help: Creating 1 letter - person has multiple lines of data (duplicate IDs)

    Maybe by extracting missing items in the columns for each person

    In I2 array formula and pull formula to the right until you see blanks

    =IF($A2=$A1,"",IFERROR(INDEX($F:$F,SMALL(IF($A$2:$A$10=$A2,ROW($A$2:$A$10)),COLUMNS($I$2:I2))),""))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    1
    Name Address City State Zip Missing Items Missing Items
    2
    Steve Z 1 nowhere lane nowhere city nw
    11111
    Money Money Ducks Quack
    3
    Steve Z 1 nowhere lane nowhere city nw
    11111
    Ducks
    4
    Steve Z 1 nowhere lane nowhere city nw
    11111
    Quack
    5
    Bill W 2 nowhere lane nowhere city nw
    11112
    Ducks Ducks
    6
    Alex Q 3 nowhere lane nowhere city nw
    11113
    Money Money Ducks Cows Moo
    7
    Alex Q 3 nowhere lane nowhere city nw
    11113
    Ducks
    8
    Alex Q 3 nowhere lane nowhere city nw
    11113
    Cows
    9
    Alex Q 3 nowhere lane nowhere city nw
    11113
    Moo
    10
    Tom P 4 nowhere lane nowhere city nw
    11114
    Moo Moo
    Attached Files Attached Files
    Last edited by AlKey; 10-14-2014 at 10:31 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Mail Merge Help: Creating 1 letter - person has multiple lines of data (duplicate IDs)

    HI, One way select True during mergeging process in winword refer the attachment
    Attached Files Attached Files
    Click just below left if it helps, Boo?ath?

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Mail Merge Help: Creating 1 letter - person has multiple lines of data (duplicate IDs)

    Thank you for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools -> Mark thread as Solved).

+ 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. [SOLVED] merge duplicate lines while appending unique data
    By tiger10012 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-26-2013, 07:41 AM
  2. Mail merge with multiple lines of data in excel to feed one Word doc
    By gaucher2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2012, 02:57 PM
  3. Mail merge from duplicate data
    By aerovez in forum Excel General
    Replies: 1
    Last Post: 04-25-2011, 02:19 PM
  4. Multiple rows, duplicate entries, mail merge
    By RHicks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2008, 07:32 PM
  5. Replies: 2
    Last Post: 08-23-2005, 02:05 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