ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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
dataguyW
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
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

dataguyW
11 - Bolide

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

Labels
Top Solution Authors