Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Excel formula conversion into Alteryx

Abhii2658
8 - Asteroid

 

How would write this statement from excel in Alteryx 

=IF(AND(LEN(A1)>0,LEN(B1)>0),(IF(ANS=(A1&" "&B1),"Exact Match", "Non Match")),"No Trigger")

A1 = O2(String)

B1 = R1(String)

 

Thanks 

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @Abhii2658 

 

I couldn't get the formula working in excel, but I believe this is what you're after:

 

if length([Field1])>0 and Length([Field2])>0 and [Field1]=[Field2]
then 'Exact Match'
elseif length([Field1])>0 and Length([Field2])>0 and [Field1] != [Field2]
then 'Non Match'
else 'No Trigger'
Endif

 

Luke_C_0-1628196327574.png

 

 

Abhii2658
8 - Asteroid

Thank you very much

 

 

 

Labels
Top Solution Authors