Reply
 
Thread Tools Display Modes
  #1   Report Post  
Mia
 
Posts: n/a
Default How do I use an "IF" statement in Mailmerge?

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.
  #2   Report Post  
macropod
 
Posts: n/a
Default How do I use an "IF" statement in Mailmerge?

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

"Mia" wrote in message
...
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.



  #3   Report Post  
Charles Kenyon
 
Posts: n/a
Default How do I use an "IF" statement in Mailmerge?

Try
{IF«AssetFeature»= "TRUE" "X" "FALSE"}

--
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.

"macropod" wrote in message
...
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

"Mia" wrote in message
...
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.





  #4   Report Post  
macropod
 
Posts: n/a
Default How do I use an "IF" statement in Mailmerge?

Or:
{IF«AssetFeature»= TRUE X FALSE}
You don't need the quotes unless the strings have spaces in them ...

Cheers



"Charles Kenyon" wrote in
message ...
Try
{IF«AssetFeature»= "TRUE" "X" "FALSE"}

--
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.

"macropod" wrote in message
...
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

"Mia" wrote in message
...
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.







Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge Query - Works in Access; fails in Word Gary Stark Mailmerge 4 October 6th 05 07:57 PM
Trying to suppress Select Table box in Excel-Word mailmerge Denise Mailmerge 4 June 21st 05 01:08 PM
Using If statement in mailmerge document fig000 Mailmerge 3 March 31st 05 09:29 PM
Included Property in Word 2003 MailMerge Alessio Mailmerge 1 December 23rd 04 11:26 AM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 04:01 PM


All times are GMT +1. The time now is 11:50 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"