Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Creating selective merge fields when importing source information in Word 2013

Posted on 2015-02-06
1
Medium Priority
?
97 Views
Last Modified: 2015-02-10
I will be adding this series («Companyname»«Firstname»«Lastname») to a variety of documents. During a merge in some instances the info will be a Companyname, in others, Firstname Lastname. When Companyname is used I want Firstname Lastname to be blank, not spaces, and when firstname lastname is used I want companyname to be blank (not a space) and a space to be included between firstname lastname.
0
Comment
Question by:vjstech
[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
1 Comment
 
LVL 53

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 40596728
Hi,

Why not try with IF

{ IF  { MERGEFIELD CompanyName  } = "" "{ MERGEFIELD FirstName  } { MERGEFIELD LastName  }" { MERGEFIELD CompanyName  }  }

for reference
http://word.mvps.org/faqs/mailmerge/mmergeiffields.htm

Regards
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
Meetings to discuss business process can waste time, and often do .  The meeting's dialog can get confusing when participants have different professional perspectives and backgrounds.  A jointly-developed process picture helps wade through the confu…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

650 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