Formatting Issues

How to Fix Word Mail Merge Removing Final Zero from Currency

Natalie TaylorNatalie Taylor Nov 3, 2026 868 views

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.

How to Fix Word Mail Merge Removing the Final Zero from Currency
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.
Before you start

Ensure your Excel data source is saved and fully closed before editing field codes in Word to prevent file locking or data sync errors.

Solution 1Recommended

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.

1
Reveal Field Codes

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 }.

2
Add the Formatting Switch

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" }.

3
Update and Preview Results

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.

Apply a Currency Formatting Switch to the MERGEFIELD
Consistent Output: This switch guarantees that no matter how the raw number is stored in Excel, Word will format it properly as a standard currency amount.
Simplify Mail Merges with WPS Office

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. 1. Access Mail Merge: Open WPS Writer, navigate to the References tab, and click the Mail Merge button to activate the toolbar.
  2. 2. Connect Data: Click 'Open Data Source' and select your WPS Spreadsheet or Excel file containing the currency values.
  3. 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. 4. Finish and Merge: Click 'Merge to New Document' to generate your final formatted letters or labels.
Easily format complex fields using built-in document controls.Fully compatible with Microsoft Word and Excel formats (.docx, .xlsx).Free, lightweight, and fast alternative for daily office tasks.Familiar interface ensures a seamless transition with zero learning curve.
microsoft office alternative - wps office

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.