Use the replace function and find the field header matching the one listed in the letter. Do this for each field that the headers are different.

OR

Make sure the number of gifts to consolidate on the fields to include tab matches the number of merge fields in the template.