Mail Merge - List multiple items then page break on unique data

Joined
Mar 22, 2016
Messages
1
Reaction score
0
Hello Experts,

I using Word 2013 to mail merge. I have a large list of data (counselor names, student names, scholarships and high schools). I want to mail merge the list so that each counselor gets one letter, but they may have multiple students (unique field is hs_code). I have tried everything I know, reading this forum, consulting with my IT guys and nothing seems to work. Can someone help?

Thank you in advance. I hope to use any code provided that works for multiple projects, this would save me a ton of time in the future.

Example:

Dear Counselor A from High School A,

These students got scholarships:
Joe Smith $1000
Jane Doe $750

Thanks
Justin

{page break}

Dear Counselor B from High School B,

These students got scholarships:
Gerald Wright $1000
Joan Smith $750

Thanks
Justin

{page break} etc.

Test Data:
c_name f_name m_name l_name sch_type amt_1_yr amt_4_yr hs_code hs_name
Mr. Frank Caitlin W Carlos Merit Scholarship $14,500 $58,000 123142 Saint Bernard School
Mrs. Ashley Joe C Smith Leadership Scholarship $2,500 $10,000 245896 Catholic High School
Mrs. Ashley Joe C Smith Merit Scholarship $14,000 $56,000 245896 Catholic High School
Mrs. Ashley Jamie M Cook Leadership Scholarship $11,500 $46,000 245896 Catholic High School
Mrs. Ashley Scott T Everett Leadership Scholarship $2,500 $10,000 245896 Catholic High School
Mr. Josh Richard T Sample Merit Scholarship $14,000 $56,000 785489 Ironwood High School
Ms. Sam Kristin M Anne Leadership Scholarship $8,500 $34,000 785489 Ironwood High School
Mr. Greg Dylan M Hauer President Scholarship $12,000 $48,000 254587 Verde High School


 

macropod

Microsoft MVP
Joined
Mar 2, 2012
Messages
578
Reaction score
50
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 at:
http://windowssecrets.com/forums/sh...t-Word-Catalogue-Directory-Mailmerge-Tutorial
or:
http://www.gmayor.com/Zips/Catalogue Mailmerge.zip
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.

The field coding for this is 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:
http://www.msofficeforums.com/mail-...ate-names-but-different-dollar.html#post23345
http://www.msofficeforums.com/mail-...creating-list-multiple-records.html#post30327
http://windowssecrets.com/forums/sh...able-Directory?p=928391&viewfull=1#post928391

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: http://answers.microsoft.com/en-us/...g-tables/8bce1798-fbe8-41f9-a121-1996c14dca5d
The DATABASE field can even be used without recourse to a mailmerge. An example of such usage can be found at: http://www.msofficeforums.com/mail-merge/21847-mail-merge-into-different-coloumns.html#post67097

Alternatively, you may want to try one of the Many-to-One Mail Merge add-ins, from:
Graham Mayor at http://www.gmayor.com/ManyToOne.htm; or
Doug Robbins at http://bit.ly/1hduSCB

In addition to a 'Many to One' merge, the latter handles:
• Merge with Charts
• Duplex Merge
• Merge with FormFields
• Merge with Attachments
• Merge to Individual Documents
• Merge, Print and Staple
 
Top