View Single Post
 
Old 09-26-2016, 01:12 PM
eduams eduams is offline Windows 7 32bit Office 2013
Novice
 
Join Date: Sep 2016
Posts: 1
eduams is on a distinguished road
Default Excel / Mail Merge - Return Column Headers for All and Any Columns with Values

Hi All

I am looking for a solution to the following problem:
...I need to create a mail merge of all students with grades in subjects they study for only. If they study for those subjects then i want to return the subject and grade under each students name. If they don't study for any subject, then i don't want to see the subject listed at all...e.g.:
[originally posted here [URL="http://www.mrexcel.com/forum/excel-questions/966936-excel-mail-merge-return-column-headers-all-any-columns-values.html"]

..so the final outcome should be a single page with customized headers and merged fields like:

Name: Mar
Subjects:
Science Term 1: 72
Science Term 2: 47
Science Term 3: 18Maths Term 2: 44
_________________________________next student record

many thanks for your help
Reply With Quote