January 10, 2025
Word Top Contributors:
Advanced Conditional Mail Merging
1) I want to reformat the date and $ amount in the mail merge conditions. I want the date to be Month D, YYYY and the $ amount to only include cents if there is any. Is this possible? Because I am not completing the mail merge in Word, I can't just reformat the source data and use the "via DDE" to bring it over.
2) Can I do calculations in the merge fields? That is, can I say something like... { IF {MERGEFIELD Total_Gifts} > {{MERGEFIELD Amount} + {MERGEFIELD Total_Gifts_Last_Year}} "back" ""}
Report abuse
Thank you.
Reported content has been submitted
Hi Liam,
Welcome to Microsoft Community and thank you for posting the question.
You may post your query in the forum below for better suggestions:
http://social.technet.microsoft.com/Forums/en-us/word/threads
Thank you.
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
You are using a Word template as a primary merge document in Conga Mail Merge?
I am not familiar with that program. Here, though, is the Conga YouTube Channel
If it respects Word's field formatting, you can format your fields.
Numeric formatting
Date formatting
Mail Merge
Charles Kenyon
Sun Prairie, Wisconsin
wordfaq[at]addbalance[dot]com
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
See "Formatting Word fields with switches" on fellow MVP Graham Mayor's website at
http://www.gmayor.com/formatting_word_fields.htm
For your calculation, you would need to use:
{ IF { MERGEFIELD Total_Gift s} > { = { MERGEFIELD Amount } + { MERGEFIELD Total_Gifts_Last_Year } } "back" "" }
You MUST use Ctrl+F9 to insert each pair of field delimiters
Doug Robbins - MVP Office Apps & Services (Word)
dougrobbinsmvp@gmail.com
It's time to replace ‘Diversity, Equity & Inclusion’ with ‘Excellence, Opportunity & Civility’ - V Ramaswamy
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
This was most helpful. I have one more question...
How can I say IF this AND that THEN?
{ IF {{ MERGEFIELD Total_Gifts_Last_Year } = "0" { AND{ IF { MERGEFIELD Total_Gift s} > {MERGEFIELD Amount }} "back" "" }
Is this possible?
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Is it possible to have the field code return the text between two hyphens.
For example, if my value is "Gift Type - Company Name - Date," how can I have it return "Company Name"?
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Charles Kenyon
Sun Prairie, Wisconsin
wordfaq[at]addbalance[dot]com
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Use
{ IF { MERGEFIELD Total_Gifts_Last_Year } = 0 { IF { MERGEFIELD Total_Gifts } > { MERGEFIELD Amount } "Back" "" } "" }
This assumes that if the Total_Gifts_Last_Year <> 0, then nothing is to be returned.
Doug Robbins - MVP Office Apps & Services (Word)
dougrobbinsmvp@gmail.com
It's time to replace ‘Diversity, Equity & Inclusion’ with ‘Excellence, Opportunity & Civility’ - V Ramaswamy
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Question Info
Last updated October 5, 2021 Views 275 Applies to: