Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-21
2
Medium Priority
?
344 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

824 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