Mail Merge

Word & PowerPoint

Chapter 7 · Mail Merge: Generating Many Personalized Documents from One Template

Every prior chapter treated a Word document as one single, self-contained thing. Mail Merge turns that idea inside out: one document becomes a template, and an external table of data — most naturally, an Excel worksheet — supplies as many personalized versions of it as there are rows. This is also the most direct connection point between the two apps this course covers: the data source Mail Merge reads is exactly the kind of Excel Table Excel Fundamentals Chapter 7 taught you to build.

The Problem Mail Merge Solves

Imagine sending a personalized letter to 200 people — each one needs their own name, address, and a specific amount owed. Manually creating 200 separate documents, or find-and-replacing placeholder text 200 times in one document, is exactly the kind of repetitive, error-prone task that shouldn't be done by hand. Mail Merge produces all 200 personalized documents from one template and one data table, correctly and automatically.

The Two Ingredients: A Template and a Data Source

A merge always needs exactly two things:

  • A template — a normal Word document, written once, with placeholder fields marking where personalized content goes.
  • A data source — a table of records, one row per recipient, one column per piece of information. Most commonly, this is an Excel worksheet — and ideally, an actual Excel Table (Excel Fundamentals Chapter 7), whose column headers become the exact field names Mail Merge offers.

Setting Up the Merge

Mailings → Start Mail Merge, choosing the document type (Letters, Envelopes, Labels, or Email Messages), then Select Recipients → Use an Existing List, browsing to the Excel workbook and picking the specific worksheet or named Table it should read from.

Inserting Merge Fields

Mailings → Insert Merge Field lists every column found in the connected data source — inserting one drops a placeholder like «FirstName» or «Amount» directly into the template at the cursor's position. Preview Results toggles between seeing these raw placeholders and an actual preview populated with one real row's data, letting you confirm the layout looks right before running the full merge.

Matching Fields: The Same Exact-Match Discipline as XLOOKUP

Mailings → Match Fields exists because Word's own expected field names (like "First Name") don't always exactly match whatever the Excel source's actual column headers are called (say, "FName" instead). This dialog lets you map Word's expected names onto the source's real column names explicitly — skip this when they genuinely don't match, and merge fields come through blank, or paired with entirely the wrong column, with no error shown.

This is precisely the same discipline Excel Fundamentals Chapter 5 demanded of XLOOKUP: an exact match is required for a lookup to succeed, and a near-miss (different capitalisation, an extra space, a slightly different name) fails silently rather than obviously — just applied here across a whole template's worth of field names at once, instead of one single lookup key.

Completing the Merge

Mailings → Finish & Merge offers three outputs: Edit Individual Documents (combines every recipient's personalized version into one new document, one after another), Print Documents (sends the entire batch straight to a printer), or Send Email Messages (for an Email Messages-type merge, sending each personalized version directly to that row's own email address).

Mail Merge conceptIts Excel Fundamentals counterpart
The data source (rows/columns)An Excel Table (Chapter 7) — one row per record, named columns
A merge field's column nameA Table's own column header, used the same way a structured reference names a column
Match Fields' exact-name requirementXLOOKUP's own exact-match discipline (Chapter 5)
A blank cell silently merging as emptyAVERAGE silently excluding a blank rather than treating it as zero (Chapter 4)
An Excel Table is the direct bridge between the two halves of this course
Everything Excel Fundamentals Chapter 7 taught about a well-structured Table — clear column headers, no blank rows scattered through the data, one record per row — matters just as much here as it did feeding a PivotTable. The better-structured the Excel Table, the more reliably Mail Merge's field matching and personalized output actually work; a messy, inconsistent source table causes exactly the same kind of silent problems in a merge that it would in an Excel PivotTable.
A blank cell in the data source doesn't cause an error — it merges as blank, silently
A recipient row with a missing value in some column doesn't stop the merge or flag anything — that recipient's document simply shows nothing where that field should be, with no warning that anything is wrong. This is the same "no error, just a quietly wrong result" pattern this course has flagged repeatedly on the Excel side (an unlocked reference, an approximate-match lookup) — always spot-check a sample of merged documents, not just the template and the first preview row, before printing or sending 200 personalized copies of a document with a silently blank field.

Hands-On Exercises

Exercise 1

You have an Excel Table with columns Name, Amount, DueDate, one row per customer. Set up a Letters-type mail merge connected to this table, insert merge fields for all three columns into a template letter, and preview the result using the first row's data. Describe exactly what you'd see in the preview versus the raw template.

📄 View solution
Exercise 2

Your Excel data source's columns are named CustName, AmtDue, and Due_Date — not exactly matching the field names your template expects (Name, Amount, DueDate). Explain what would happen if you inserted merge fields and ran the merge without using Match Fields first, and describe the correct fix.

📄 View solution
Exercise 3

A 300-row Excel data source has one row (row 157) with a blank Amount cell, due to a data-entry mistake. You run the full merge and print all 300 letters without spot-checking. Describe exactly what recipient 157's letter looks like, and what habit from this chapter would have caught the problem before printing.

📄 View solution

Chapter 7 Quick Reference

  • Template (the Word document with placeholders) + data source (an Excel Table — one row per recipient) = a merge
  • Mailings → Start Mail Merge → Select Recipients connects the data source
  • Insert Merge Field — inserts a «Column Name» placeholder; Preview Results shows it filled with real data
  • Match Fields — maps Word's expected field names onto the source's actual column headers; skipping this when names differ causes silent blanks or mismatches, the same exact-match discipline XLOOKUP required
  • Finish & Merge — Edit Individual Documents, Print Documents, or Send Email Messages
  • A blank source cell merges as blank silently — always spot-check several merged documents, not just the first preview