Skip to main content
12-Amethyst
Dec 21, 2022 5:35 PM UTC
Solved

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

terryhendicott
21-Topaz II
Dec 21, 2022 5:56 PM UTC

Hi,

Like this

Capture.JPG

Cheers

Terry

2 replies

terryhendicott
21-Topaz II
Dec 21, 2022 5:56 PM UTC

Hi,

Like this

Capture.JPG

Cheers

Terry

Translate
12-Amethyst
Dec 21, 2022 7:33 PM UTC

Well, there it is.  Thank you Terry

Translate