MSBA-174 · Lesson 9 of 12 · 23 min

Mail merge

▶ Video coming soon A video version of this lesson is on the way.

Every November Maple & Pine writes to its past clients: a thank-you letter to couples whose weddings it planned that year, an invitation to the spring wedding show for couples who enquired but did not book, and a holiday card to venues and vendors. In 2025 Teo had typed 140 letters by hand from the bookings spreadsheet. In 2026 Dagny did it with mail merge, using the Bookings table she had built for Teo in the Excel course. The exam's objective perform mail merges covers the whole process: managing recipient lists, inserting merged fields, previewing results, and creating merged documents, labels and envelopes. It sits in the fourth and heaviest domain, so expect at least one substantial mail merge task on the exam.

The parts of a mail merge

A mail merge combines a main document (the letter, label sheet, envelope or directory with the fixed text) with a data source (a list of recipients: an Excel sheet or table, an Outlook contacts folder, an Access table, a CSV file or a list typed in Word). Merge fields in the main document mark where data from each record goes. Finish & Merge produces the result: a new document with one letter per record, printed output or email messages.

A flow of the Mailings tab groups from left to right. Start Mail Merge: choose document type. Select Recipients: Use an Existing List pointing to Bookings.xlsx. Edit Recipient List: filter Status equals Paid and Event year equals 2026. Write and Insert Fields: Address Block, Greeting Line, Insert Merge Field, Rules. Preview Results: record 1 of 63. Finish and Merge: Edit Individual Documents, Print Documents, Send Email Messages.
The Mailings tab follows the order of the job, from left to right.

The Mailings tab is arranged in the order you work, from Start Mail Merge on the left to Finish & Merge on the right. Start Mail Merge also offers the Step-by-Step Mail Merge Wizard, which walks through the same stages in a task pane; it is useful for learning but slower on the exam.

Step 1: choose the document type

Mailings > Start Mail Merge offers Letters, E-mail Messages, Envelopes, Labels, Directory and Normal Word Document (which turns a merge document back into an ordinary one). Letters and E-mail Messages produce one item per record. Envelopes and Labels open dialogs for the envelope size or label product. Directory produces one document with every record listed one after another, which is how you make a phone list or a catalogue.

Step 2: select and edit recipients

Select Recipients offers Type a New List (Word builds a small Access-format list), Use an Existing List (browse to a file) and Choose from Outlook Contacts. Dagny chose Use an Existing List, selected the bookings workbook, and in the Select Table dialog chose the Bookings table with First row of data contains column headers ticked. Using a named Excel table rather than a sheet means new rows are included automatically the next time the merge opens.

Edit Recipient List opens the Mail Merge Recipients dialog, where most of the work on recipient lists happens.

FeatureUse
Check boxes beside each recordInclude or exclude individual recipients
SortOrder records by up to three fields
FilterInclude only records that meet conditions, such as Status equal to Paid
Find duplicatesList records that look like duplicates so you can untick them
Find recipientSearch for a record
Validate addressesUse an address validation add-in if one is installed
Edit (for Word or Access lists)Change the list itself
RefreshReload the data source after it changes

The Filter and Sort dialog builds conditions from fields, comparisons (Equal to, Not equal to, Less than, Greater than, Is blank, Is not blank, Contains, Does not contain) and And/Or joins. For the thank-you letters Dagny filtered Status Equal to Paid And Event date Greater than or equal to January 1, 2026, then sorted by Client. Find duplicates showed two couples who had booked twice, once for a rehearsal dinner and once for the wedding; she unticked the second record for each.

Worked problem

Invitations to couples who did not book

The wedding show invitation should go only to enquiries from 2026 that did not become bookings. The enquiries table has a column Booked with values Yes or No, and a column Enquiry date. How does Dagny filter the list?

Show solution
  1. Select Recipients > Use an Existing List and choose the Enquiries table in the bookings workbook.
  2. Edit Recipient List > Filter.
  3. First condition: Booked, Equal to, No. Second: And, Enquiry date, Greater than or equal, 2026-01-01.
  4. Click OK, check the count in the dialog, and use Find duplicates for couples who enquired twice.

Answer: Two conditions joined with And select 2026 enquiries that were not booked. Find duplicates catches repeat enquiries so each couple gets one invitation.

Step 3: insert merge fields

Place the insertion point in the main document where data should appear, then use the Write & Insert Fields group.

CommandWhat it inserts
Address BlockA complete address assembled from name and address fields, with options for name format and country
Greeting LineA salutation such as "Dear Amira and Joel," with a fallback such as "Dear Friends,"
Insert Merge FieldAny single field from the data source, such as Event_type or Package
RulesWord fields that change the output: If...Then...Else, Ask, Fill-in, Next Record, Next Record If, Merge Record #, Merge Sequence #, Set Bookmark, Skip Record If
Match FieldsTells Word which of your columns correspond to its standard address fields
Highlight Merge FieldsShades merge fields so you can see them
Update LabelsCopies the first label's layout to every label on the sheet

Merge fields appear in the document as the field name between guillemets (double angle quotation marks), so the Client field shows as Client wrapped in those marks. If Address Block shows the wrong fields in its preview, use Match Fields to map your column names (such as Street) to Word's address fields (Address 1). The thank-you letter used Address Block for the address, Greeting Line set to "Dear" followed by the Client field and Insert Merge Field for the event type and date in the first sentence: "Thank you for trusting us with your" followed by the Event_type field, "on" and the Event_date field.

Rules

The Rules button inserts Word fields that make each letter different. The one the exam uses most is If...Then...Else: compare a field with a value and insert one text or another.

Worked problem

Different closing lines by package

Couples who chose the Lighthouse Premium package get a free anniversary dinner voucher; everyone else gets a 10 percent discount on a future event. One sentence in the letter must change accordingly. How does Dagny do it?

Show solution
  1. Place the insertion point where the sentence goes.
  2. Mailings > Rules > If...Then...Else.
  3. Field name: Package; Comparison: Equal to; Compare to: Lighthouse Premium.
  4. Insert this text: the voucher sentence. Otherwise insert this text: the discount sentence. Click OK.

Answer: Word inserts an IF field. Each merged letter shows the voucher sentence or the discount sentence depending on the couple's package.

The IF field created by the Rules dialog, as it appears with field codes shown (Alt+F9). The braces are field characters, not typed braces.
{ IF { MERGEFIELD Package } = "Lighthouse Premium" "Please enjoy the enclosed anniversary dinner voucher." "Please accept 10 percent off your next event with us." }

Other rules are useful in labels and directories. Next Record moves to the next record without starting a new page, which is how several records appear on one sheet of labels (Word adds it automatically to label layouts). Skip Record If omits records that meet a condition, an alternative to filtering. Fill-in and Ask prompt for text when the merge runs, such as a sentence to personalize the batch.

Step 4: preview and check

Preview Results replaces the merge fields with real data from one record at a time; the arrows and the record number box move between records. Find Recipient jumps to a particular record. Check for Errors (Alt+Shift+K) can simulate the merge and report errors in a new document, complete the merge and pause for each error, or complete it and report errors in a new document. Dagny previewed a dozen records, found one with a blank Event type (the record was a corporate holiday party entered before she added the column), and fixed the spreadsheet instead of the letter.

Number formatting is the most common preview surprise. A date or currency from Excel can appear in the merge in a raw form, for example a date as 11/14/2026 or a fee with many decimals. The tidy fix is a format switch on the field: toggle field codes with Alt+F9 and add \@ "MMMM d, yyyy" to a date field or \# "#,##0" to a number field, then toggle back and update. A simpler alternative is to format the column as text in Excel, but that changes the source.

Step 5: finish and merge

Finish & Merge has three choices. Edit Individual Documents creates a new document containing every merged letter, separated by section breaks, which you can check, edit and save; Dagny always merges to a new document first. Print Documents sends the merge straight to the printer. Send Email Messages sends each record as an email through Outlook; you choose the field that holds email addresses, type a subject line and choose the format (HTML, Plain text or Attachment). Each option lets you merge All records, the Current record or a range From and To.

The main document is worth saving too. When you reopen it, Word asks whether to run the SQL command that reconnects the data source; answering Yes reconnects it and the merge is ready to run again next year.

Labels and envelopes

For labels, choose Start Mail Merge > Labels. The Label Options dialog chooses the printer type, the Label vendor (such as Avery US Letter or Avery A4/A5) and the Product number, or New Label for custom dimensions. Word builds a table of labels. Insert the Address Block or fields in the first label only, then click Update Labels to copy the layout to the rest; each label after the first starts with a Next Record field. Preview, then merge to a new document.

For envelopes, choose Start Mail Merge > Envelopes and set the Envelope size (such as Size 10, the common business envelope in North America, or DL) and fonts for the delivery and return addresses in Envelope Options. Insert the Address Block into the delivery address frame. For a single envelope or label without merging, use Mailings > Create > Envelopes or Labels, type or insert the address, and print or add it to the document.

Worked problem

Holiday card labels for vendors

Maple & Pine sends holiday cards to 84 vendors and venues listed in the Vendors sheet of the vendor workbook. The office uses a standard 30-per-sheet address label. How does Dagny produce the labels?

Show solution
  1. Start Mail Merge > Labels; choose the label vendor and the 30-label product number; click OK.
  2. Select Recipients > Use an Existing List, choose the vendor workbook and the Vendors sheet.
  3. Edit Recipient List: untick vendors marked Inactive, sort by Company.
  4. In the first label, insert Address Block; click Update Labels.
  5. Preview Results, then Finish & Merge > Edit Individual Documents > All, and print on label stock.

Answer: Update Labels repeats the first label's layout with Next Record fields, so all 30 labels on each sheet show different vendors.

Preparing the data source

Most mail merge problems start in the data, not in Word. Dagny's checklist for any Excel source:

CheckWhy
One header row with short, unique column namesWord uses them as field names; spaces become underscores
No blank rows or merged cells in the listBlank rows become blank letters; merged cells confuse the import
Use a named table or a named rangeNew rows are included automatically
Keep postal codes as textOtherwise leading zeros may disappear in some codes
Close the workbook before merging, or save it firstWord reads the saved file, not unsaved edits
A column for email addresses if sending emailSend Email Messages needs a field to send to

Email merges have their own limits: Word sends one message per record through the default Outlook profile, the Attachment format sends the merged document as an attachment rather than in the body, and you cannot add a different file attachment to each message without an add-in or automation. Dagny sent the wedding show invitations as HTML messages from the shared events mailbox, after sending a test merge of the current record to her own address.

Common mistakes

  • MistakeTyping names and addresses into the letter.

    InsteadInsert merge fields, Address Block or Greeting Line from the data source.

  • MistakeFilling every label by hand with fields.

    InsteadSet up the first label and click Update Labels.

  • MistakeMerging straight to the printer.

    InsteadMerge to Edit Individual Documents first and check the result.

  • MistakeFixing a bad record in the merged letters.

    InsteadFix the data source and merge again, so next year's merge is right too.

  • MistakeLeaving dates in raw format.

    InsteadAdd a date format switch to the merge field.

Summary and key terms

  • A mail merge combines a main document with a data source; the Mailings tab runs from Start Mail Merge to Finish & Merge.
  • Select Recipients connects the data; Edit Recipient List sorts, filters, removes duplicates and excludes records.
  • Address Block, Greeting Line, Insert Merge Field and Rules (If...Then...Else, Skip Record If, Next Record) build the main document.
  • Preview Results and Check for Errors confirm the output; format switches fix dates and numbers.
  • Finish & Merge creates individual documents, prints or sends email; labels use Update Labels and envelopes use Envelope Options.
Main document
The document holding the fixed text and merge fields.
Data source
The list of records used in a merge, such as an Excel table.
Merge field
A placeholder that is replaced with data from each record.
Address Block
A merge field that builds a complete address.
If...Then...Else
A rule that inserts one text or another depending on a field's value.
Update Labels
The command that copies the first label's layout to every label.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Which document type lists every record in one document?

    Show answer

    Directory.

  2. How do you include only records whose Status is Paid?

    Show answer

    Edit Recipient List > Filter: Status Equal to Paid.

  3. What does Match Fields fix?

    Show answer

    Address Block or Greeting Line using the wrong columns, by mapping your column names to Word's address fields.

  4. What does Edit Individual Documents produce?

    Show answer

    A new document with one merged item per record, which you can check and save.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz