Share via

Fix merge issue between Excel and Word

Paul Reilly 0 Reputation points
2026-02-03T08:12:53.2833333+00:00

I have an excel spreadsheet that I am taking data from, to a word mail merge document. There is a mix of information from the spreadsheet populating the word merge, a mix of dates, text and dollar values. Everything is copying through beautifully with the exception of one date field. The date field in question is a cell in the spreadsheet that asks for the expiry of a contractors H&S information. This cell has a formula to get that date from another sheet in the spreadsheet file, depending on who the Contractor is. This date does not copy to the word mail merge as a date, it shows as numbers, eg 61254. How can we have this date information copy to the mail merge while still retaining the formula in that cell so the date can be brought from the second sheet of the same file?

Microsoft 365 and Office | Word | For business | Windows
0 comments No comments

6 answers

Sort by: Most helpful
  1. Jay Freedman 207.5K Reputation points Volunteer Moderator
    2026-02-03T13:11:00.43+00:00

    Word's merge function ignores any formatting that Excel applies to the data in its cells. In the case of dates, Excel stores all dates as serial numbers, starting with 1 January 1900. That's what Word receives during the merge. You must supply the desired format by including a @ switch in the merge field. See https://wordribbon.tips.net/T006108_Controlling_Date_Formats_in_a_Mail_Merge for examples.

    2 people found this answer helpful.
    0 comments No comments

  2. Q&A Assist
    2026-02-03T08:13:04.74+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To resolve the issue of the date field from your Excel spreadsheet not transferring correctly to your Word mail merge, you can try the following methods:

    1. Format the Date in Excel: Ensure that the cell containing the expiry date is formatted as a date in Excel. You can do this by selecting the cell, right-clicking, choosing "Format Cells," and then selecting "Date" under the Number tab. This may help retain the date format during the mail merge process.
    2. Use Dynamic Data Exchange (DDE): You can connect to the Excel worksheet using DDE, which may help in retaining the formatting of the date. Here’s how to do it:
      • Start Word and open a new blank document.
      • Go to File > Options > Advanced, and check the box for "Confirm file format conversion on open."
      • In the Mailings tab, select Start Mail Merge and choose Step By Step Mail Merge Wizard.
      • Follow the prompts to select your Excel data source, and when prompted in the Confirm Data Source dialog, choose "MS Excel Worksheets via DDE (*.xls)".
      • This should allow the date to be pulled in with its formatting intact.
    3. Ensure the Formula Outputs a Date: If the date in the cell is derived from a formula, ensure that the formula outputs a date value recognized by Excel. If it outputs a number, it may not be interpreted correctly in the mail merge.

    By ensuring the correct formatting and using DDE, you should be able to successfully merge the date field into your Word document while retaining the formula in your Excel sheet.


    References:

    1 person found this answer helpful.
  3. Anonymous
    2026-02-13T08:48:58.6966667+00:00

    Dear @Paul Reilly

    As I have mentioned in the message I sent you via Private Message: Because your actual workbook contains formulas, multiple fields, and live data relationships, I wasn’t able to reproduce the exact behavior end‑to‑end without impacting other merge fields with a simple Excel test file only containing dates. For that reason, rather than changing the Excel file, the safest approach is to format the date directly in the Word mail merge field.

    This is the simple Excel test file only containing dates used for testing with the file that you sent me but it also impacted other fields in your file.

    User's image

    Following this article that I have sent: Date, Phone Number, and Currency fields are merged incorrectly when you use an Access or Excel data source in Word, I tested this on a blank Word file instead and I toggled the field codes like this: {MERGEFIELD Dates @ "MMMM d, yyyy"}

    User's image

    User's image

    When I clicked on preview results:

    User's image

    I tested with this field too: {MERGEFIELD Dates @ "dd-MM-yyyy"}

    Please right-click to update field:

    User's image

    Here is the result:

    User's image

    Could you please try updating the merge field in your document to the following and let me know how it looks?

    { MERGEFIELD HS_Expiry_Date @ "dd-MM-yyyy" }

    This keeps your Excel formula intact and only controls how the date is displayed in Word.

    To apply this:

    • Select the date merge field in Word
    • Press Alt + F9 to show field codes or right-click and choose Toggle Field Codes
    • Add or update the @ date format
    • Press Alt + F9 again, then right‑click the field and choose Update Field

    Thank you for your patience.


  4. Paul Reilly 0 Reputation points
    2026-02-13T00:06:30+00:00

    Hi Julie

    I have not been able to resolve this issue and any proposed solutions have not worked either. It was my understanding you were working on this and needed some time but confused now. Its not good Microsoft cannot resolve this problem and it has been several weeks now. I do not see why a Teams meeting with all would help resolve this??Paul

    0 comments No comments

  5. Anonymous
    2026-02-03T10:59:46.9966667+00:00

    Dear @Paul Reilly

    Good day! Welcome to Microsoft Q&A forum!

    Based on your description, I understand that you're experiencing an issue where one specific date field from your Excel spreadsheet isn’t transferring correctly into your Word mail merge but appearing as a serial number instead of a formatted date while still needing to preserve the formula that retrieves that date from another sheet.

    I sincerely apologize for the inconvenience caused by this issue.

    Regarding this matter, another user found that by going to Word > File > Settings > Advanced > scroll down to General > Check in the box "Confirm file format conversion on open" would usually help preserve the original formatting from Excel.

    User's image

    Please kindly try that option and let me know if it works for you.

    If not, please send me copies of your files via Private Message so that I could try to work on it on my end.

    Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.

    Any updates you’re able to share would be really helpful. I appreciate your time and look forward to hearing how things are going! 

    Thank you for your time and patience.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in [our documentation] to enable e-mail notifications if you want to receive the related email notification for this thread. 


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.