How to format date, currency and number during mail merge in Word?
Mail merge is a useful tool to create a set of documents that are essentially the same but where each documents contain unique elements. However, when we merge some mails, we should pay more attention to the format of date, currency and number. This tutorial will show you how to format date, currency and number properly in word during mail merge.
Formatting date properly during mail merge in Word
Formatting currency and number properly during mail merge in Word
Before we change the format of date, number and currency in mail merge, we need to apply following operations firstly.
Step 1: select the merge field you want to change. In this case, it is Date field.
Step 2: Press Shift-F9 to make the field coding visible. The field you selected should now look like this:
{MERGEFIELD DATE}, {MERGEFIELD CURRENCY} or {«Percent»}
Formatting date properly during mail merge in Word
Please add the following formatting data: \@"dd MMMM yyyy" into the merge file of date. And the merge field of date should like this:
{MERGEFIELD DATE\@ "MMMM d, yyy"}
The format of date will be like this:
Note:you can change the date format to whatever you like. Other possible formats could be: • dd/MMM/yyyy , • d/MMM/yy, • d MMMM yyyy
Easily Split one word document into multiple
|
Generally, we use copy and paste to split a Word document one by one, but the Split Documnet utility can split a Word document based on page, heading1, page break or section break, which will improve the work efficience . Click for full-featured free trial in 60 days! |
![]() |
Kutools for Word: with hundreds handy Word add-ins, free to try with no limitation in
60 days. |
Formatting currency and number properly during mail merge in Word
Please add the following formatting data \# $,0.00 into the merge file of currency, and the merge field of currency should look like this:
{MERGEFIELD CURRENCY\# $,0.00}
Note:the '\# $,0.00' in the field is referred to as a numeric picture switch. Other possibilities include:
(1). \# 0 for rounded whole numbers
(2). \# ,0 for rounded whole numbers with a thousand separator
(3). \# ,0.00 for numbers accurate to two decimal places, with a thousand separator
(4). \# $,0 for rounded whole dollar with a thousand separator
(5). \# "$,0.00;($,0.00);'-'" for currency, with brackets around negative numbers and a hyphen for 0 values
Besides, sometimes the number may be percentage, you may need to edit the field{ «Percent» } so that you get {=«Percent»*100 \# 0.00%}.
Recommended Word Productivity Tools
Kutools For Word - More Than 100 Advanced Features For Word, Save Your 50% Time
- Complicated and repeated operations can be done one-time processing in seconds.
- Insert multiple images across folders into Word document at once.
- Merge and combine multiple Word files across folders into one with your desired order.
- Split the current document into separate documents according to heading, section break or other criteria.
- Convert files between Doc and Docx, Docx and PDF, collection of tools for common conversions and selection, and so on...
You are guest
or post as a guest, but your post won't be published automatically.
-
To post as a guest, your comment is unpublished.· 7 months agoTHANKS GUYS, U RE THE BEST!
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.hi..
my date changed to code like this; 43696
anybody can help?-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.Hi there, I have my computer region numbering formatted so numbers are x.xxx.xxx,xx however my merge field field code format which is {MERGEFIELD UnitAmount \# "$#.##0,00;-$#.##0,00" \* MERGEFORMAT} still shows the number formatting as xx,xxx.xx. If I remove the formatting, then it displays as xxxx.xxxx
Anyone know if this is possible and the correct formatting for Danish/German numbers? I need 1,000.00 to display as 1.000,00. Thanks in advance -
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.Hello, I am trying to change the date format of a field in Word that is extracted from a database (Oracle), the field arrives with date format as dd-mm-yyyy, but I need to insert that date in mm- dd-yyyy Someone could help me?
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.when I am merging a spreadsheet into a word doc and bringing formatted currency I use \#” £,0.00;(£,0.00)” in the formula but when I do merge it brings back all the blank cells also. How can I just bring the cells with greater than 0 in the merged document
-
To post as a guest, your comment is unpublished.what if I wanted it blank if it's zero?
-
To post as a guest, your comment is unpublished.
-
-
To post as a guest, your comment is unpublished.Can anyone help me with a code to format my date in Word to display as 1st January 2017? Atm it is formatted to 01/01/2017 but it doesn't look quite right in the main text of a letter.
Many thanks -
To post as a guest, your comment is unpublished.I am having issues with a mail merge from excel. I need the data to be pulled to come over as a whole number however when it comes over it is is a 0 or the first number of the number represented in excel.
Examples
What is is Excel
31%
112%
15%
What comes over in the merge field
0
1
1
How do I get the full number to come over? When I change the toggle items to \#0 it then comes over as
.31
1.12
1.5
Can you assist?
MB -
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.Dears,
I have little problem in my mail merge... The display date I need it to be shown in another language like arabic. For example, the date today is "October 30, 2016", when i switch or hit the toggle field code (Alt+F9) it will shown as
[u]{ MERGEFIELD mydate } --> 10/30/2016[/u]
When i want to reformate it i will be like the following
[u]{ MERGEFIELD mydate \@ "ddmmyy"} --> 30102016[/u]
But when i want it with what i want it to be :
[u]{ MERGEFIELD mydate \* Arabic} --> 0[/u]
How can i make the display date look like
١٠/٣٠/٢٠١٦
Thanks and regards -
To post as a guest, your comment is unpublished.Thanks for all the tips!
I found (in Word 2016) that toggling the field code and manually inserting the switch code didn't really work. I was trying to get the date as dd/MM/yyyy, but Word gave me something else entirely (no idea why the date 10/10/2016 displayed as: 10/00/2016).
Anyway, I figured out how to get Word to produce the date formatted correctly: Right-click on the merge field and select "Edit field...". Then in the window I clicked on "Field Codes" in the bottom left, and pasted the switch code in the end of the text box.
Finally it worked! -
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.Lanie. Set up an excel file with Card No as a heading. Put a 16 digit card number in (no spaces) & merge it to word. Shift F9 to display field & add the \ onward text below
{MERGEFIELD Card No\# "####-####-####-####"}
Note I have formatted four # keys & one - key repeating. This seems to produce a space between numbers -
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.I am attempting to format the Merge Field to display the Close Date as September 10, 2014 instead of 09/10/14. I have tried to enter the field codes as MERGEFIELD \@ "MMMM dd, yyy" CloseDate and I even tried to Toggle Field Codes. Can anyone offer any suggestions on this? I have tried a few of the suggestions posted here but none have helped in my case.
-
To post as a guest, your comment is unpublished.I am creating a Mail Merge Document from my loan manager database and I have trying to format the date to be September 10, 2014 instead of 09/10/14. I have tried MERGEFIELD \@ "MMMM d, yyy" CloseDate but continually receives an error " Error! Unknown character in picture string" when I toggle field codes.
-
To post as a guest, your comment is unpublished.I'm having a very hard time getting a simple currency to export from Excel to Word Mail Merge. I'm getting 13.5 when it sHould be $13.50
-
To post as a guest, your comment is unpublished.[quote name="Serena"]Is there anyway to edit the merge field so that whole numbers do not display decimals .00 but will still include the decimals if there is cents in the merge data? We use merging to prepare thank you letters for donations and my boss doesn't think .00 looks appropriate, especially when the donation is large - $150,000.00 looks funny compared to just putting $150,000.
Eg.
Merge Data -> Merge Field
$1,500.56 -> $1,500.56
$1,500.00 -> $1,500[/quote]
Has anyone answered to this query?-
To post as a guest, your comment is unpublished.Hi Shahn,
You can follow the instructions given here to resolve your problem.
https://support.office.com/en-us/article/Format-mail-merge-numbers-dates-and-other-values-in-Excel-990e6516-49bc-4a43-aecc-acd027d92a00#feedbackText
However, after selecting MS Excel Worksheets via DDE (*.xls), I click "_FilterDatabase" instead of "EntireSpreadsheet".
Hope this helps! :) -
To post as a guest, your comment is unpublished.Hi Shahn, no I haven't received any solutions so far.
-
To post as a guest, your comment is unpublished.Hello,
I was facing the same problem and manage to solve it by following the instructions here.
https://support.office.com/en-us/article/Format-mail-merge-numbers-dates-and-other-values-in-Excel-990e6516-49bc-4a43-aecc-acd027d92a00
However, after selecting "MS Excel Worksheets via DDE (*.xls)", click_FilterDatabase instead of Entire Spreadsheet.
That will solve the problem.
I hope it helps! :)
-
-
-
To post as a guest, your comment is unpublished.Is there anyway to edit the merge field so that whole numbers do not display decimals .00 but will still include the decimals if there is cents in the merge data? We use merging to prepare thank you letters for donations and my boss doesn't think .00 looks appropriate, especially when the donation is large - $150,000.00 looks funny compared to just putting $150,000.
Eg.
Merge Data -> Merge Field
$1,500.56 -> $1,500.56
$1,500.00 -> $1,500-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.How about when the field is a number and letter? example "1a". It appears as "0" on the merge doc.
-
To post as a guest, your comment is unpublished.
-
-
To post as a guest, your comment is unpublished.Ronel: Used to be done through the use of *Upper within field codes display. Seems to have been dropped by MS. Try this instead:
When date is displaying as 2-December-2015 or whatever your format is, right click on the date & select FONT. The dialogue box has and ALL CAPS tick box to bottom right. Click it & OK dialogue. Seems to do the trick but the coding is not displayed with Alt+F9 it must be in the background somewhere. Jeez I wish they would just leave it alone!!!!! -
To post as a guest, your comment is unpublished.I am using the 'd MMMM yyyy' format. Is there a way to format this to upper case?
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.Word 2013 date format on merge from xlsx. Undid Microsoft "fix" switched back to OLE from DDE and your fix worked 2nd time around. Brilliant. Thanks
-
To post as a guest, your comment is unpublished.How do you do this Martin? I'm pulling my hair out.
-
To post as a guest, your comment is unpublished.[quote name="dbhope"]How do you do this Martin? I'm pulling my hair out.[/quote]
Not sure why Microsoft have made this so complicated.
I think you are just not following the instructions precisely.
1) Set up an xlsx file with two headings DATE and DATETEXT
Set format for DATE column to dd/mm/yyyy
Set format of DATETEXT to text
2) enter the a these 2 dates in the DATE column:
01/06/2013
05/07/2014
3) enter this text in the DATETEXT column & don't let it format into a date:
1st Jun 2013
5th Jul 2014
4) Save & close file
5) Open a new word doc
6) Click mailings, Start mail merge & letters, Select Recipients & use existing list & select the list you just made & click OK
7) Click Insert merge field & click DATE & then OK
8) Press enter to move to next line
9) Click Insert merge field & click DATETEXT & then OK
10) Click Preview Results & jump through the 2 entries. The DATE field will be showing the date as mm/dd/yyyy REALLY ANNOYING
11) Click once on the DATE field (to highlight it)
12) Press SHIFT & F9 and you will see:
{ MERGEFIELD DATE }
enter this text \@"dd MMM yyyy" so that the field becomes:
{MEGEFIELD \@dd MMM yyyy" DATE}
13) VERY IMPORTANT: Note the lower case dd, UPPERCASE MMM, lower case yyyy
14) Click preview results until the data shows. Scroll through entries & I hope we are sorted.....
-
-
-
To post as a guest, your comment is unpublished.Formatting the date in word 2013 does not work using \@"dd mmm YYYY" you just get an error to state the field doesn't exist. Microsoft state to use DDE but all that does is give the OOPS SOMETHING WENT WRONG message to appear on opening for the second time.
-
To post as a guest, your comment is unpublished.[quote name="Martin"]Formatting the date in word 2013 does not work using \@"dd mmm YYYY" you just get an error to state the field doesn't exist. Microsoft state to use DDE but all that does is give the OOPS SOMETHING WENT WRONG message to appear on opening for the second time.[/quote]
Make sure you either right-click on the merge field and choose 'Toggle Field Codes' or press Shift-F9 with the merge field selected.
So, rather than «LastPaidDate» you should be seeing { MERGEFILD \@ "ddMMMyy" LastPaidDate }
-
-
To post as a guest, your comment is unpublished.Fantastic!. Thanks. I notice also that you can change the format in word to any of the available options in excel. To see the options go to the Excel home tab > format drop down box > more number format options > custom.