How to Fix Word Mail Merge Removing Final Zero from Currency
Question details
The user needs to know how to maintain trailing zeros in currency figures when performing a mail merge from an Excel spreadsheet into a Word document.

- Product
- Word, Excel
- Device & OS
- not provided
- Scenario
- Merging financial or pricing data from an Excel spreadsheet into a Word document.
- Observed behavior
- Word Mail Merge drops the final zero from currency values (e.g., $511.20 appears as 511.2) because it ignores the source cell's display formatting.
Ensure your Excel data source is saved and fully closed before editing field codes in Word to prevent file locking or data sync errors.
Apply a Currency Formatting Switch to the MERGEFIELD
Use a formatting switch directly in Word to force the merge field to consistently display values as currency with two decimal places.
When Word imports data via OLE DB (the default method), it pulls the raw data from Excel rather than the formatted text. By applying a numeric switch in Word, you dictate exactly how the raw number should be displayed.
In your Word document, press Alt + F9 (or Option + F9 on Mac) to toggle field codes on. Your currency field will look similar to { MERGEFIELD Price }.
Click inside the bracket just after the field name and type the currency switch \# "$,0.00". The complete code should now look like { MERGEFIELD Price \# "$,0.00" }.
Press Alt + F9 again to hide the field codes, select the field, and press F9 to update it. Click 'Preview Results' to confirm your trailing zeros are now preserved.

Use the TEXT Function in Excel Before Merging
Convert your numeric currency values into perfectly formatted text strings in Excel so Word imports them exactly as they appear.
Perform Flawless Mail Merges in WPS Writer
WPS Office provides an intuitive, user-friendly Mail Merge feature that seamlessly supports spreadsheet data. Generate perfectly formatted letters, labels, and reports without stressing over lost decimals.
- 1. Access Mail Merge: Open WPS Writer, navigate to the References tab, and click the Mail Merge button to activate the toolbar.
- 2. Connect Data: Click 'Open Data Source' and select your WPS Spreadsheet or Excel file containing the currency values.
- 3. Insert and Format Fields: Click 'Insert Merge Field'. If needed, right-click the inserted field, choose 'Toggle Field Codes', and add the \# "$,0.00" switch to keep the final zero.
- 4. Finish and Merge: Click 'Merge to New Document' to generate your final formatted letters or labels.

Frequently Asked Questions
Why does Word drop the trailing zero in a Mail Merge?
By default, Word connects to Excel using OLE DB, which reads the underlying raw data of a cell, not its visual formatting. Because Excel stores $511.20 as the mathematical value 511.2, Word imports and displays exactly that.
What is a formatting switch in Word?
A formatting switch is a special code (like \# "$,0.00") added to a MERGEFIELD. It instructs Word on how to format the incoming raw data, allowing you to force specific numeric, currency, or date formats regardless of the source file.
Can I force Word to read Excel formatting directly?
Yes, you can do this by using a Dynamic Data Exchange (DDE) connection instead of OLE DB. However, DDE is an older technology, can be slower, and requires Excel to be open, which is why formatting switches are generally the preferred method.
How do I show or hide field codes on a Mac?
On Mac versions of Word, you can toggle field codes by pressing Option + F9. If your Mac is set to use standard function keys, you may need to press Fn + Option + F9.




