Avatar of Bill Golden
Bill Golden
Flag for United States of America asked on

Simple IF statement in Word

I need to write a simple IF statement in Word.

If the value of the Comments field is blank, do/print nothing. If the Comments field contains a value, print J/N a space and then the contents of Comments.

Looking at Word's help file thoroughly confused me. Any help would be appreciated.
Microsoft ApplicationsMicrosoft OfficeMicrosoft Word

Avatar of undefined
Last Comment
Eric Fletcher

8/22/2022 - Mon
SOLUTION
GrahamSkan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Bill Golden

ASKER
I was able to retrieve and modify this from on old Word doc.

{ IF { TITLE } > " " " { TITLE  \*MERGEFORMAT }"}

It works, but produces a blank line even when there is no value in TITLE

P.S. Trying to discern how to delete the first question.
SOLUTION
Eric Fletcher

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Eric Fletcher

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61