Solved

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

Posted on 2011-09-21
2
319 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

This article will show you how to use shortcut menus in the Access run-time environment.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

773 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