Solved

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

Posted on 2011-09-21
2
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: 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

Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
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: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

617 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