Math Formula : 3 foumula in the same column IF

Hi
This is a simple workflow :
MATHS.xlsx (8.3 KB)
I want to create a column using this formula :
If T.E = HARD, New column = column TPS - 12
If T.E = MED, New column = column TPS - 16
If T.E = LOW, New column = column TPS - 18

My idea is to use row filter by TE and math formula and concatenate.
Is there a better solution?
Thanks
Br

1 Like

Hey,

you can do this fairly quickly with Expressions Node.

I highly recommend the AI Assistant for these tasks:
Prompt:

Suggestions:

Result:

Workflow :slight_smile:
mathformulalogic.knwf (81.1 KB)

6 Likes

I did not know this node.
Many thanks
Br

1 Like

Hi, Can any one help on how to apply IF conditions on more than one columns togehter?
Sadat

@MartinDDDD’s workflow does everything in one node and employs the growing power of the AI script builder. Regardless, here’s another way looping through the Column Expressions node.
mathformulalogic w Column Expressions.knwf (107.0 KB)
workflow

2 Likes

Move this to a new post and please provide more detail about what you’re trying to do.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.