Link to home
Create AccountLog in
Avatar of Bill Golden
Bill GoldenFlag 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.
SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of 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
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account