Skip to content
Cambridge AS & A Level9626

Mail merge

Information Technology 9626 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Mail merge notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Mail merge notes as text: skim, search, and jump between subtopics.

~12 min read

1. When and why mail merge is used

Mail merge makes many personalised documents from one master document and one data source. Use it when the same letter or email goes to many people and each copy needs the recipient's own details.

The master document holds the text that stays the same, with merge fields where the details go. The data source holds the details, one record for each recipient.

Software tools cannot check for stylistic or contextual errors, or for inaccurate or missing content. Merged documents still need manual checking.

Examiner insight

“While many candidates provided responses that were detailed, a significant number of answers were vague, e.g. ‘to check that the invitations were correct’ without an explanation of what was meant by that statement.”

Worked example 16 marks

A mobile (cell) phone service provider is sending emails to all of its customers. The email informs each customer of changes to their individual contract.

Justify the use of mail merge to create the emails.

  1. 1

    Saves time when creating large numbers of personalised documents [1]

  2. 2

    Only need to create one master document [1]

  3. 3

    Only need to create, keep and maintain one data source [1]

  4. 4

    Documents are personalised to individual customers [1]

  5. 5

    Reduces the risk of errors, typos and missing information [1]

  6. 6

    Ensures the company style and a consistent layout on all documents sent out [1]

2. Source data and master documents

Create and edit the source data in suitable software, such as a spreadsheet or database. Keep one record for each recipient and one field for each detail.

The syllabus names three master documents: letters, labels (including custom labels) and a directory. Type the fixed text once. The layout is then the same for every record.

Examiner insight

“Common mistakes were to omit specific details of how the master document would be set up. The question was about setting up the master document so details of the actual merge were not required.”

Worked example 14 marks

A library prints a name label for each of its 300 members. Describe how the source data and the master document are prepared.

  1. 1

    Source data: one record for each member and one field for each detail, e.g. `Forename`, `Surname`, `MemberID` [1]

  2. 2

    The data is created and edited in suitable software, such as a spreadsheet or database [1]

  3. 3

    Master document: set up as a labels document, with a custom label size to match the label sheet [1]

  4. 4

    The fixed text and layout are typed once, so every label has the same layout [1]

3. Linking and inserting fields

Link the master document to the source file. Then identify the correct field names and use them exactly as the source file gives them.

Insert a merge field at each place where a detail belongs. A chart or table can be embedded in the master document.

Other fields can sit beside merge fields: document properties, document fields and date/time fields.

Examiner insight

“Explanations require a ‘how’ and ‘why’ response from candidates.” “Vague answers referred to importing the data from a spreadsheet and writing the items into the places in the template.”

Worked example 14 marks

A master document letter is to be linked to a source file with the fields `Title`, `Surname` and `Balance`. Describe how the letter is set up so that each customer's name and balance appear.

  1. 1

    Link the master document to the source file [1]

  2. 2

    Identify the correct field names in the source file [1]

  3. 3

    Insert the `Title` and `Surname` merge fields after ‘Dear’, and `Balance` where the amount belongs [1]

  4. 4

    When the merge runs, each merge field is replaced by that customer's data from the source file [1]

4. Fields completed by hand or by calculation

A manual completion field is needed when a value cannot be stored in the source file, or is not known until the merge. Use a Fill-in or Ask field, with a prompt that tells the user what to enter.

The prompt can appear once per merge, or for every recipient. A value that is different for every recipient needs a prompt for every recipient.

A field can also be completed automatically by a calculation, with a formula inserted in the master document.

Examiner insight

“Usually a prompt is made and the user types in the relevant data allowing the merge to proceed.” “A typical method would be, e.g. the use of a fill-in field in the location of required date with a prompt to ensure the user completes the field manually.”

Worked example 15 marks

Master documents used in mail merge can include fields that are set up for manual completion by the user when the merge is started.

Justify the use of manual completion fields in mail merge master documents.

  1. 1

    Needed when the value is not suitable for, or cannot be stored in, the source file [1]

  2. 2

    The value changes with time, or is not known until the merge [1]

  3. 3

    Needed when a different value is required each time the merge is run, e.g. the next date of a meeting in a standard invitation [1]

  4. 4

    Use of a FILL_IN / ASK field sets a default prompt or message in the document [1]

  5. 5

    It can prompt once per merge, or for every document or recipient to ensure personal information is entered [1]

5. Selecting recipients: edit, sort and filter

A rule decides which records are merged. Rules are needed when only some recipients should get a document, or when the documents must come in an order.

The records can be edited, sorted and filtered. A filter names the field and the value to keep. A new data source can be made from the records that pass.

Examiner insight

“This question required candidates to explain that a filter on the ‘Invite’ field in the data source should be used to select only those with ‘Yes’.” “Good answers included filtering and what was to be filtered.”

Worked example 14 marks

A club keeps a data source with the field `Paid`, which holds Yes or No. A reminder letter must go only to members who have not paid, in order of surname. Describe how the recipients are selected.

  1. 1

    Filter the data source on the `Paid` field [1]

  2. 2

    The criterion is `Paid` equal to ‘No’ [1]

  3. 3

    Only the records that pass the filter are merged [1]

  4. 4

    Sort the records by the `Surname` field [1]

6. Rules in the master document

A rule can also sit in the master document as a conditional field. It compares the contents of a data field with a pre-set value. The result decides what happens next.

If Then Else chooses between two pieces of text. Skip Record If skips the current record when the comparison is true. Next Record If decides whether the next record is merged into the same letter.

``` Skip Record If Paid = 'Yes' ```

Examiner insight

“Good answers should have described in some detail the use of rules such as nested Ifs, SKIPIF/SKIPRECORDIF or NEXT RECORD IF in merge fields in a master document that imported data from a source file.” “However, many responses did not fully describe the outcomes.”

Worked example 14 marks

A master document contains the rule Skip Record If `Country` = ‘Spain’. Describe how the rule works when the merge is run.

  1. 1

    The contents of the field `Country` are compared with the pre-set value ‘Spain’ [1]

  2. 2

    If the comparison is true, the current record is skipped and no document is made for it [1]

  3. 3

    If the comparison is not true, the record is included in the merge [1]

  4. 4

    Every record is checked automatically, so the rule works for the whole data source [1]

Recap

  • Mail merge: one master document plus one data source gives many personalised documents.
  • The master document holds fixed text and merge fields. The data source holds one record per recipient.
  • Master documents: letters, labels (including custom labels) or a directory.
  • Link to the source file and use the correct field names. Also insert document property, document and date/time fields.
  • Fill-in and Ask fields give a prompt for manual completion. Calculations complete a field automatically.
  • Select recipients by editing, sorting and filtering the data, or by a rule in the master document.
  • If Then Else chooses text. Skip Record If skips the current record when true. Next Record If decides whether the next record is merged.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. A garage sends a service reminder to each of its 2 000 customers. State two advantages of using mail merge.2 marks
    Answer
    1. Saves time when creating large numbers of personalised documents.
    2. Only one master document and one data source need to be created and kept.

    Trap: ‘It is easier’ is vague and earns nothing: say what is saved or reduced.

  2. Name the two files used in a mail merge and state what each one holds.2 marks
    Answer
    1. The master document holds the fixed text and the merge fields.
    2. The data source holds the details, one record for each recipient.

    Trap: Swapping the two: recipients' details belong in the data source, not typed into the master document.

  3. A school's data source has 120 student records and 6 fields. A new student joins. State what is added to the data source and what happens to the master document.2 marks
    Answer
    1. One new record with a value for each of the 6 fields.
    2. The master document does not change.

    Trap: Adding a new field instead of a new record.

  4. Name three types of master document that can be made using mail merge.3 marks
    Answer
    1. A letter.
    2. Labels, including custom labels.
    3. A directory.

    Trap: Naming the data source, such as a spreadsheet, which is not a master document.

  5. A letter is linked to a source file with the fields `FirstName`, `LastName` and `Town`. The letter begins ‘Dear Forename’ and the merge fails. Explain the cause and the fix.3 marks
    Answer
    1. The field `Forename` does not exist in the source file [1].
    2. Identify the correct field names in the source file [1].
    3. Replace the field with the merge field `FirstName` [1].

    Trap: Blaming the data: a merge field name must match the source file's field name exactly.

  6. A master document must show the date it is printed, each customer's surname, and the author of the document. Name the type of field used for each.3 marks
    Answer
    1. Date: a date/time field.
    2. Surname: a merge field.
    3. Author: a document property field.

    Trap: Typing the date or author as plain text instead of inserting a field.

  7. A hotel's source file does not store the arrival date. The receptionist must type a different arrival date into each guest's letter as the merge runs. Describe how the master document is set up.4 marks
    Answer
    1. Insert a Fill-in (or Ask) field where the date belongs [1].
    2. Write a prompt, such as ‘Enter the arrival date’ [1].
    3. Set the prompt to appear for every recipient [1].
    4. The user types the date and the merge proceeds [1].

    Trap: Prompting once per merge gives every guest the same date.

  8. A source file has the fields `Price` and `Quantity`. Each letter must show the total cost. No field may be added to the source file. Describe how this is done.3 marks
    Answer
    1. Insert a calculation field in the master document [1].
    2. The formula multiplies the `Price` field by the `Quantity` field [1].
    3. The total is completed automatically for each record [1].

    Trap: Typing each total by hand: the field should complete automatically.

  9. A dentist's data source has the fields `Surname`, `LastVisit` (a year, such as 2023) and `Moved` (Yes or No). Reminder letters must go only to patients who have not moved and whose last visit was before 2025, in order of surname. Describe the rules needed, and what each one does to a record.5 marks
    Answer
    1. Skip Record If `Moved` = ‘Yes’ [1].
    2. When the comparison is true, the current record is skipped; when it is not true, the record is included [1].
    3. Skip Record If `LastVisit` ≥ 2025, which skips visits in 2025 or later [1].
    4. A record is merged only when neither comparison is true [1].
    5. Sort the records by the `Surname` field [1].

    Trap: Skip Record If skips the records the condition describes, so Skip Record If `LastVisit` < 2025 would skip exactly the patients who need a letter.

  10. A charity writes to 3 000 supporters. The data source has the fields `Surname`, `Monthly` (the dollars given each month) and `Member` (Yes or No). Letters go only to members. Each letter shows the amount given in a year. It says ‘You are a gold supporter’ if `Monthly` is at least 10, and ‘Thank you for your support’ if not. It also gives the date of the next meeting, which is the same in every letter but is not known until the merge is run. Describe the rules and fields needed in the master document.7 marks
    Answer
    1. Skip Record If `Member` = ‘No’ [1].
    2. When the comparison is true, the current record is skipped and no letter is made; otherwise the record is included [1].
    3. A calculation field with the formula `Monthly` × 12 completes the yearly amount automatically [1].
    4. An If Then Else field compares `Monthly` with 10, testing `Monthly` ≥ 10 [1].
    5. If true, the ‘gold supporter’ text is used; otherwise the ‘support’ text [1].
    6. A Fill-in (or Ask) field is placed where the date belongs, with a prompt such as ‘Enter the date of the next meeting’ [1].
    7. It is set to prompt once per merge, because the date is the same in every letter [1].

    Trap: Prompting for every recipient makes the user type the same date 3 000 times: a value that is the same in every letter is prompted once per merge.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Use filters on the spreadsheet.Filter the data source on a named field for a named value, e.g. ‘Invite’ equal to ‘Yes’, or set a Skip Record If rule in the master document.
Check that the invitations were correct.Manual checking finds stylistic or contextual errors, and inaccurate or missing content, that software tools cannot.
Import the data from a spreadsheet and write the items into the template.Link the master document to the data source, then place a merge field at each item.

Frequently asked questions

What is mail merge used for?
Mail merge makes many personalised documents from one master document and one data source. Use it when the same letter or email goes to many people and each copy needs the recipient's own details. Software tools cannot check for stylistic or contextual errors, so merged documents still need manual checking.
What are the two files used in a mail merge?
The master document holds the text that stays the same, with merge fields where the details go. The data source holds the details, one record for each recipient and one field for each detail. The recipients' details belong in the data source, not typed into the master document.
What types of master document can mail merge produce?
The syllabus names three master documents: letters, labels (including custom labels) and a directory. Type the fixed text once, and the layout is then the same for every record. Linking to the source file and using its field names exactly is the next step.
When should a Fill-in or Ask field be used in a mail merge?
A manual completion field is needed when a value cannot be stored in the source file, or is not known until the merge. Use a Fill-in or Ask field with a prompt that tells the user what to enter. The prompt can appear once per merge, or for every recipient.
How does a rule select which recipients receive a document?
A rule decides which records are merged. A Skip Record If rule skips the current record when the comparison is true. Records can also be edited, sorted and filtered, where a filter names the field and the value to keep.
What mistake do students make when they describe checking or filtering in mail merge?
Vague answers, such as using filters on the spreadsheet, were not awarded more than one or two marks. A filter should name the field and the value, such as Invite equal to Yes. Saying check that the invitations were correct needs an explanation of what the manual checking finds.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters