Excel & CSV

Mail Merge Troubleshooting: CSV UTF-8 & Excel Dates

7 min read
Updated November 29, 2026
Data Hygiene
Overview & Key Takeaways

Almost every bulk document glitch—garbled accents like é, stripped leading zeros on employee IDs, or dates turning into 5-digit numbers like 46325—happens inside the spreadsheet before export. Here is how to fix all four issues in under two minutes.

1. Fixing Garbled Accents & Question Marks (UTF-8 Encoding)

When Microsoft Excel saves a file as standard CSV (Comma delimited) on Windows, it uses legacy Windows-1252 encoding. Accented names (José, François, Müller) or Indic scripts break. Always choose CSV UTF-8 (Comma delimited) (*.csv) or upload the native .xlsx workbook directly to BulkDocify.

2. Fixing 5-Digit Excel Serial Dates (e.g. 46325)

Excel stores dates as raw integers counting days since January 1, 1900. If a mail merge reads the raw cell value, November 29, 2026 becomes 46355. Fix it cleanly with a helper column:

=TEXT(B2, "MMMM D, YYYY") → outputs the exact formatted string November 29, 2026.

3. Preserving Leading Zeros on IDs & ZIP Codes

Double-clicking a .csv file in Excel strips leading zeros from values like 00412, turning them into 412. Keep your master roster as an .xlsx file with the ID column formatted as Text, or use =TEXT(A2, "00000") before exporting.

4. Removing Hidden Trailing Spaces & Blank Rows

Trailing spaces after a recipient's name can throw off center alignment on certificates. Run =TRIM(A2) across your name column and delete empty rows at the bottom of your sheet so you don't generate blank PDF pages. For the full import checklist, read How to Import CSV & Excel for Bulk Documents.