Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start 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