# Replicate Excel IF formula in KNIME

**URL:** <https://forum.knime.com/t/replicate-excel-if-formula-in-knime/77266>\
**Category:** KNIME Analytics Platform\
**Created:** [February 15, 2024, 10:45am UTC](https://forum.knime.com/t/replicate-excel-if-formula-in-knime/77266 "2024-02-15T10:45:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fostc80857](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/f/958977/32.png) [@fostc80857](https://forum.knime.com/u/fostc80857)\
**Post date:** [February 15, 2024, 10:45am UTC](https://forum.knime.com/t/replicate-excel-if-formula-in-knime/77266/1 "2024-02-15T10:45:38Z")

</div>

Hi

How would I re-create the following Excel formula in KNIME:

=IF(ISNA(AQ20),IF(ISNA(AS20),“”,AT20),AR20)

Thanks  
Chris

---

<div class="post-metadata">

**Author:** ![ipazin](https://forum-cdn.knime.com/user_avatar/forum.knime.com/ipazin/32/806_2.png) [@ipazin](https://forum.knime.com/u/ipazin)\
**Post date:** [February 15, 2024, 11:40am UTC](https://forum.knime.com/t/replicate-excel-if-formula-in-knime/77266/2 "2024-02-15T11:40:35Z")

</div>

Hello @fostc80857,

you can use Rule Engine node or Column Expressions node. See here for more:

> [@if then else with multiple conditions](https://forum.knime.com/t/if-then-else-with-multiple-conditions/36150/4):
>
> Hello @sgknime, and welcome to KNIME Community! For [Rule Engine](https://kni.me/n/zpGPAjDyExkFL2HB) if else logic see here: For [Column Expressions](https://kni.me/n/2_0ji_xeG-SudFu-) if else logic see here: For [Math Formula](https://kni.me/n/2fI5rIsFDCFPHc0R) if else logic see here: In your case I would go with Rule Engine wink Br, Ivan

Br,  
Ivan

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [February 22, 2024, 11:40am UTC](https://forum.knime.com/t/replicate-excel-if-formula-in-knime/77266/3 "2024-02-22T11:40:50Z")

</div>

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