Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

How can i keep Excel formula in Alteryx

HI, i just shifted to Alteryx and leaning as well. i want to use some existing formula like =IFERROR(SEARCH("/",A2),0) in Alteryx

 

can you please let me know how can i use

 

thanks

 

4 REPLIES 4
neilgallen
12 - Quasar
Welcome!

The closest analog is going to be “contains” where the format would be

Contains([field],”search string”). This returns a true false value, so you could include it in an if statement to account for missing values.
BrandonB
Alteryx
Alteryx

Alteryx has the "findstring" function which can return the character position when the text is found

 

find string.png

DiganP
Alteryx Alumni (Retired)

@vishal_masharuwala There are a couple of ways you can do this. Have you looked at the Regex_CountMaches() function? You can also use the contains() functions.

 

Input: Apple

- I want to count how many p's are in there

- Formula: REGEX_CountMatches([Field1], '[p]')

Output: 2

 

Here's a complete list of all the functions.

Digan
Alteryx

thanks a lot Digan,

 

it works

Labels
Top Solution Authors