cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Compound IF statement with text

relayman357
11-Garnet

Compound IF statement with text

I have seen compound IF statements that evaluate numerical values.  e.g.  if (a=1,2,3)

 

How can I construct a compound IF statement where the variable being evaluated is text?  I want the IF loop to run if the text value Fault is A or B.

 

e.g.  if (Fault="A", "B")

 

snip.png

 

thanks,

relayman

 

p.s. Prime 8

ACCEPTED SOLUTION

Accepted Solutions

Hi,

Like this

Capture.JPG

Cheers

Terry

View solution in original post

2 REPLIES 2

Hi,

Like this

Capture.JPG

Cheers

Terry

Well, there it is.  Thank you Terry

Announcements

Top Tags