Formulas with If clause

Kerem Tokdemir

Posted on 13.01.2021 14:57

Hi everyone,


I want to create a formula similar to following


if value<x1

a=1

else if value<x2

a=2

else if value<x3

a=3

else

a=4

end



is there anyway to assign a case specific value to a variable in an if clause for many conditions?


thank you.

Matjaž Strniša
Automotive Application Engineer
Posted on 15.01.2021 14:30

Hello Kerem

find the example attached below you can easily modify if for your own use,
fell free to contact us if you need anything.

Kind regards,
Matjaž Strniša


Attached files:
Login to reply to this topic. If you don't have account yet, you can signup for free account .