Hi,
I'm trying to use the formula tool to reproduce an If statement from excel but I can't seem to get it right.
The excel formula is below.
=IF(LEFT(D430854,1)="4",IF(LEFT(M430854,3)="614","PATCH","PM"),IF(C430854="JRZ","1"&MID(D430854,2,2),IF(C430854="SL","1"&MID(D430854,2,2)&"SL",D430854)))
Excel column D is Alteryx field "Prod Line"
Excel column M is Alteryx field "Name - Remark Explanation (GLEXR)"
Excel column C is Alteryx field "WO Start Site"
What I'm trying to accomplish is:
1) If column D starts with a "4" and if column M starts with "614" then I want the column to be say "Patch" for true and "PM" for false.
2) If column C is "JRZ" then I want the column to say "1" plus the middle characters of column D. (In the screenshot below, column C is "JRZ" and column D is "013" so I want column E to say "113")
3) If the column C is "SL" then I want the column to say "1" plus the middle characters of column D.

Thank you!
Sam