Solved

Is it possible to have an IF field in Word with two possible conditions for MERGEFIELD?

Posted on 2011-09-21
2
316 Views
Last Modified: 2012-05-12
I'm trying to do the following:

1.) IF MERGEFIELD TITLE = "Mr and Mrs." THEN Insert MERGEFIELD TITLE
2.) IF MERGEFIELD TITLE = "Mr." OR "Mrs." THEN Insert MERGEFIELD TITLE plus a space followed by MERGEFIELD FIRST_NAME

Is this possible, and if so what is the expression I would use for this?
0
Comment
Question by:Eindoofus
  • 2
2 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 36577334
You can repeat the test in separate IF fields for each acceptable value
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 36577345
{ IF {MERGEFIELD TITLE} = "Mr and Mrs." "{MERGEFIELD TITLE}" }{ IF {MERGEFIELD TITLE} = "Mr" "{MERGEFIELD TITLE}" } { IF {MERGEFIELD TITLE} = "Mrs." "{MERGEFIELD TITLE}" }  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now