AnsweredAssumed Answered

else if in PE equation

Question asked by smonm Champion on Jul 31, 2017
Latest reply on Jul 31, 2017 by mfoerster

Hi every one,

I am trying to create a PE equation with else if loop. the requirement is as below

if tag1 and tag2 =1 then 1

else if tag1 and tag 2 =0 then 2

else if tag1=1 then 3

else 4

I tried to use sum of the tag values, but it will fail in one case. Could you let me know if this is possible?

 

Thank you

Outcomes