Formatting Issues

How to Fix Excel Decimal Values Changing in Word Mail Merge

Kushani NimanthikaKushani Nimanthika Nov 2, 2026 871 views

Question details

During a Word mail merge with an Excel data source, decimal values display with extra decimal digits instead of the correct format (e.g., 79,732.05 appears as 79,732.05000000000003).

How to Fix Excel Decimal Values Changing in Word Mail Merge
Product
Microsoft Word and Excel
Device & OS
not provided
Scenario
Performing a mail merge in Word using an Excel spreadsheet as the data source.
Observed behavior
Numbers with decimals show floating-point approximations with extended decimal places in Word, ignoring the simplified formatting set in Excel.
Before you start

Ensure your Excel data source document is saved and fully closed before you attempt to modify the MERGEFIELD codes in your Word document.

Solution 1Recommended

Apply a Numeric Format Switch to the MERGEFIELD in Word

The most reliable method is to format the field directly in Word using a numeric picture switch, which forces Word to display the specified number of decimal places.

Excel uses 64-bit binary floating-point to store decimal values, which often results in underlying approximations. Word pulls this raw underlying data rather than the displayed formatting from your spreadsheet.

1
Reveal field codes

Press Alt + F9 (or Option + F9 on Mac) in your Word document to reveal the field codes. The merged field will look something like { MERGEFIELD Amount }.

2
Insert the formatting switch

Click inside the field code brackets, just after the field name. Type the numeric switch \# "0.00" for two decimal places. The code should now look like { MERGEFIELD Amount \# "0.00" }.

3
Update the field

Press Alt + F9 again to hide the field codes, then right-click the field and select 'Update Field' to apply the new numeric formatting.

Apply a Numeric Format Switch to the MERGEFIELD in Word
Precision Restored: Word will now force the merged number to display exactly as formatted, ignoring the floating-point approximation from Excel.
Efficient Mail Merge

Perform Flawless Mail Merges with WPS Office

WPS Office provides a highly compatible and intuitive Mail Merge feature in WPS Writer, seamlessly pulling formatted data from WPS Spreadsheet to quickly generate professional documents without complex formatting errors.

  1. 1. Open the Mailings tab: Open your template document in WPS Writer and navigate to the 'Mailings' tab on the top ribbon.
  2. 2. Select the data source: Click 'Open Data Source' and select the WPS Spreadsheet file containing your data.
  3. 3. Insert merge fields: Click 'Insert Merge Field' to place your numeric data fields exactly where you want them in the document.
  4. 4. Complete the merge: Click 'Merge to New Document' to automatically generate your final formatted files flawlessly.
Seamless integration between WPS Writer and SpreadsheetFully compatible with Microsoft Word (.docx) and Excel (.xlsx) formatsIntuitive Mail Merge wizard for quick document generationFree, lightweight, and fast performance
microsoft office alternative - wps office

Frequently Asked Questions

Why does Word change my Excel numbers during a mail merge?

Excel stores decimal numbers as binary floating-point approximations. While Excel rounds them for display purposes, a Word mail merge pulls the raw, underlying unrounded approximation (like 79,732.05000000000003 instead of 79,732.05).

Can I stop Excel from using floating-point approximations?

No, 64-bit binary floating-point calculations are an industry standard for spreadsheet software. You must resolve these display issues by applying formatting rules either in Excel via the TEXT function or directly in Word using field switches.

What are other useful numeric switches for Word mail merge?

You can use \# "$,0.00" to display currency with a thousands separator, or \# "0%" to display decimal values as whole percentages. Simply add these switches to the end of your MERGEFIELD code.