Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2017, 10:14 AM
KDP KDP is offline Mail Merge with Mulitple Rows Windows 10 Mail Merge with Mulitple Rows Office 2016
Novice
Mail Merge with Mulitple Rows
 
Join Date: Nov 2017
Posts: 13
KDP is on a distinguished road
Default Mail Merge with Mulitple Rows

Hi,

I have been working on this for more than 4 hours and reviewed so many formulas online. I need to create a mail merger with multiple rows. Here is the sample data, I have more than 700 individual employees on the sheet. I need to show on one page per employee all the applicable Bonus plan, their respective vesting date and amount paid. I am very confused with "Key", if someone can help me what i can plug(copy/paste) to make this work in template. I have the mail merge set up as directory.

Thank you very much
Attached Files
File Type: xlsx Book1.xlsx (8.6 KB, 25 views)
Reply With Quote
  #2  
Old 11-22-2017, 01:33 PM
macropod's Avatar
macropod macropod is offline Mail Merge with Mulitple Rows Windows 7 64bit Mail Merge with Mulitple Rows Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can use Word's Catalogue/Directory Mailmerge facility for this (the terminology depends on the Word version). To see how to do so with any mailmerge data source supported by Word, check out my Microsoft Word Catalogue/Directory Mailmerge Tutorial:
https://www.msofficeforums.com/mail-...-tutorial.html
The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it.

Depending on what you're trying to achieve, the field coding for this can be complex. However, since the tutorial document includes working field codes for all of its examples, most of the hard work has already been done for you - you should be able to do little more than copy/paste the relevant field codes into your own mailmerge main document, substitute/insert your own field names and adjust the formatting to get the results you desire. For some worked examples, see the attachments to the posts at:
https://www.msofficeforums.com/mail-...html#post23345
https://www.msofficeforums.com/mail-...html#post30327

Another option would be to use a DATABASE field in a normal ‘letter’ mailmerge main document and a macro to drive the process. An example of this approach can be found at: Many to one email merge using tables - Microsoft Community
Conversely, if your workbook has a separate sheet with just a single instance of each of the grouping criteria, a DATABASE field in a normal ‘letter’ mailmerge main document could be used without the need for a macro. For an example of that, see:
Mail Merge - To a Word Table on a Single Page - Microsoft Community
The DATABASE field can even be used without recourse to a mailmerge. An example of such usage can be found at: https://www.msofficeforums.com/mail-...html#post67097

Alternatively, you may want to try one of the Many-to-One Mail Merge add-ins, from:
Graham Mayor at Merge Many To One or
Doug Robbins at http://bit.ly/1hduSCB
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 11-27-2017, 05:45 AM
KDP KDP is offline Mail Merge with Mulitple Rows Windows 10 Mail Merge with Mulitple Rows Office 2016
Novice
Mail Merge with Mulitple Rows
 
Join Date: Nov 2017
Posts: 13
KDP is on a distinguished road
Default

Yes I looked in these tutorial and still lost. Thank you
Reply With Quote
  #4  
Old 11-27-2017, 06:30 AM
gmayor's Avatar
gmayor gmayor is offline Mail Merge with Mulitple Rows Windows 10 Mail Merge with Mulitple Rows Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Try http://www.gmayor.com/ManyToOne.htm If you remove the empty first row from your worksheet, then the key field is the ID in the first column, i.e. it is common to several consecutive records. The Child fields are those that you wish to repeat i.e. columns E,F & G. Put those fields in a single row of a table (see examples on the web page) and set the document merge type to Letters.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #5  
Old 11-27-2017, 07:05 AM
KDP KDP is offline Mail Merge with Mulitple Rows Windows 10 Mail Merge with Mulitple Rows Office 2016
Novice
Mail Merge with Mulitple Rows
 
Join Date: Nov 2017
Posts: 13
KDP is on a distinguished road
Default

Thank you for you help. i will check out the website.
Reply With Quote
  #6  
Old 11-27-2017, 03:48 PM
macropod's Avatar
macropod macropod is offline Mail Merge with Mulitple Rows Windows 7 64bit Mail Merge with Mulitple Rows Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by KDP View Post
Thank you for you help. i will check out the website.
Which was one of the links I provided - along with a bunch of others I'd now have to wonder whether you looked at...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 11-27-2017, 04:05 PM
KDP KDP is offline Mail Merge with Mulitple Rows Windows 10 Mail Merge with Mulitple Rows Office 2016
Novice
Mail Merge with Mulitple Rows
 
Join Date: Nov 2017
Posts: 13
KDP is on a distinguished road
Default

it was the link that gmayor provided. I am still figuring how to download the addin

http://www.gmayor.com/ManyToOne.htm
Reply With Quote
  #8  
Old 11-27-2017, 10:00 PM
gmayor's Avatar
gmayor gmayor is offline Mail Merge with Mulitple Rows Windows 10 Mail Merge with Mulitple Rows Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The instructions are in the zip file and on the web page.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge with Mulitple Rows How do I mail merge multiple rows into one letter? SusiLouhh Mail Merge 1 03-17-2017 09:03 PM
Mail Merge with Mulitple Rows mail merge multiple rows within a grouping tracygleghorn Mail Merge 12 11-12-2015 06:43 AM
Mail Merge with Mulitple Rows Mail merge into table with two colums and several rows kathriiin Mail Merge 3 03-30-2015 07:06 AM
Mail Merge with Mulitple Rows Easy mail merge but want to suppress rows ClaireAMAdams Mail Merge 5 04-30-2013 02:43 PM
Mail Merge with Mulitple Rows Mail Merge multiple rows? ender541 Mail Merge 1 08-21-2012 03:14 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft