# If Then Statement Conversion from Alteryx to Knime

**URL:** <https://forum.knime.com/t/if-then-statement-conversion-from-alteryx-to-knime/40091>\
**Category:** KNIME Analytics Platform\
**Created:** [February 22, 2022, 3:48pm UTC](https://forum.knime.com/t/if-then-statement-conversion-from-alteryx-to-knime/40091 "2022-02-22T15:48:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bruno29a](https://forum-cdn.knime.com/user_avatar/forum.knime.com/bruno29a/32/28802_2.png) [@bruno29a](https://forum.knime.com/u/bruno29a)\
**Post date:** [February 22, 2022, 10:29pm UTC](https://forum.knime.com/t/if-then-statement-conversion-from-alteryx-to-knime/40091/6 "2022-02-22T22:29:09Z")

</div>

Hi @mariesylvia , you can check the workflow I provided in this other thread where I am using a Column Expression with if else if, and with join() which pretty much covers most of what you need.

> [@Recreating the integer guessing game](https://forum.knime.com/t/recreating-the-integer-guessing-game/40096/2):
>
> Hi @lenexa_jayhawk , there are quite a few ways to do this in Knime, including using Python. But based on what you wrote, it looks like you want to “better understand workflow development and understand equivalencies”, meaning you want something without Python, is that correct? I present to you 2 ways (they are more or less the same - I’ll explain a bit further): [image] First of all, I defined the lower and upper bounds as variables (0 and 100) in case you want to change them when you are p…

For padleft, the synxtax is the same, except that the function is padLeft(). You can click on the function dropdown in the Column Expression to see all the available functions. You can also use the function by clicking on it in the dropdown. Similarly, you can use a column or variable by clicking on it from the column or variable dropdown.

---

_[View the full topic](https://forum.knime.com/t/if-then-statement-conversion-from-alteryx-to-knime/40091)._
