Free Trial

Alteryx Designer Desktop Discussions

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

"Search Within" a cell

D0Chapman
5 - Atom

Hi

 

I have an array data (roughly 80,000 lines) containing various filing info for various companies. It includes the company name and (as carriage broken entries in a cell) a list of subsidiary companies attached to/affiliated with each company. 

 

Historically, I'd run an if(error(search in excel, which returned "0" if a company name did not appear as a subsidiary attached to another company, or if it did a count of the number of instances where this occurred. A mock example is attached.

 

I'd like to replicate this in Alteryx. 

 

A bit of searching has suggested the RegEx function, but I don't think this would replicate the search throughout the entire "subsidiary name" column.

 

Thoughts?

2 REPLIES 2
Yoshiro_Fujimori
15 - Aurora

Hi @D0Chapman ,

I would use Fuzzy Match tool.

 

Workflow (see FuzzyMatch.yxmd)

Yoshiro_Fujimori_0-1681772384587.png

Output

Yoshiro_Fujimori_1-1681772411889.png

 

Fuzzy Match tool configuration

Yoshiro_Fujimori_2-1681772446199.png

 

I am aware that "Poitiers & Co" is missing in my result.

You may want to split the names containing "new lines" to multiple rows, if that is acceptable.

 

Added a step to Split (see FuzzyMatch_Split.yxmd)

Yoshiro_Fujimori_3-1681772881391.png

New Result

Now "Poitiers & Co" is matched.😉

Yoshiro_Fujimori_4-1681772926670.png

 

I hope this can be of some help. Good luck.

AdamR_AYX
Alteryx Alumni (Retired)

 If they are all exact matches (as in your example) then I think you could do this without RegEx or Fuzzy Matching like so

 

AdamR_0-1681821768566.png

 

Adam Riley
https://www.linkedin.com/in/adriley/
Labels
Top Solution Authors