Alteryx Designer Desktop Discussions

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

How to recreate Find formula and IF error formula in alteryx

HafeezA
7 - Meteor

=IF(IFERROR(FIND("_P",C5086),FALSE),MID(C5086,17,3),MID(C5086,17,4))

3 REPLIES 3
john_watkins
11 - Bolide

Hit Control+F to open the Find window.    Paste a portion of your string there and it should find the formula or highlight which tool it is coming from.

 

Luke_C
17 - Castor

Hi @HafeezA 

 

Try something like this (swap your field name in bold)

 

IF Contains([Field],'_P')

Then Substring([Field],17,3)

Else Substring([Field],17,4)

Endif

john_watkins
11 - Bolide

Field names do need to be in [  ] brackets as well if it is just a syntax thing.

Labels