Alteryx Designer Desktop Discussions

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

IFERROR Excel formula in Alteryx?

Julie_Clarke
6 - Meteoroid

Hi, can anyone advise me about how do I convert this Excel formula in Alteryx?

 

IFERROR(IF(SEARCH(AAA],[BBB],1),"Y","N"),"N")

 

 

6 REPLIES 6
ShankerV
17 - Castor

Hi @Julie_Clarke 

 

Can you brief me with an example, what this formula does with your sample input.

What is the expected output also please.

 

Will be able to convert into Alteryx workflow easily.

 

Many thanks

Shanker V

binuacs
21 - Polaris

@Julie_Clarke The Contains() formula should work 

 

IF(Contains([BBB],[AAA],’Y’,’N’)

 

note that this function doesn’t have the option to specify the search position like SEARCH function, 

 

Julie_Clarke
6 - Meteoroid

Thanks - is there an alternative function in Alteryx??

binuacs
21 - Polaris

@Julie_Clarke No built in functions available but this can be achieved with the help of some existing formulas, let me know if you want to building something like that

Julie_Clarke
6 - Meteoroid

Hi, 

 

Thanks for the offer, any help would be much appreciated.  Like many other things in Alteryx I imagine there are various approaches that can be taken and a view from a more experienced user would be great.

EdwardCochrane
7 - Meteor

Can you accomplish this just using an if contains statement?

 

If an error in excel would return nothing in alteryx then you could have something like 'elseif contains.... then "ERROR" ' or elseif contains([XYZ], "") then "ERROR".

Labels