Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / November 2005

Tip: Looking for answers? Try searching our database.

How do I use an "IF" statement in Mailmerge?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mia - 09 Nov 2005 20:09 GMT
I've got an Excel spreadsheet for Asset management with columns for different
features, with "TRUE" or "FALSE" values. I'd likke to print an "X" in a form
letter during a mailmerge is a certain column contains "TRUE", but have been
unnable to do so.
macropod - 09 Nov 2005 21:26 GMT
Hi Mia,

If you select your existing mailmerge field, which probably looks something
like:
«AssetFeature»
and Press Ctrl-F9, you'll get:
{ «AssetFeature» }
If you then fill in between the braces so that you've got:
{IF«AssetFeature»= "TRUE" X "FALSE"}
that should give the result you're after.

Cheers

> I've got an Excel spreadsheet for Asset management with columns for different
> features, with "TRUE" or "FALSE" values. I'd likke to print an "X" in a form
> letter during a mailmerge is a certain column contains "TRUE", but have been
> unnable to do so.
Charles Kenyon - 09 Nov 2005 21:40 GMT
Try
{IF«AssetFeature»= "TRUE" "X" "FALSE"}

Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> Hi Mia,
>
[quoted text clipped - 17 lines]
> been
>> unnable to do so.
macropod - 09 Nov 2005 21:48 GMT
Or:
{IF«AssetFeature»= TRUE X FALSE}
You don't need the quotes unless the strings have spaces in them ...

Cheers

> Try
> {IF«AssetFeature»= "TRUE" "X" "FALSE"}
[quoted text clipped - 20 lines]
> > been
> >> unnable to do so.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.