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

Alteryx Designer Desktop Discussions

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

Select Row after a Row with a Specific Word

insomned
8 - Asteroid

Hello everyone, 

 

I want to select THE NEXT row after a row, which contains a specific word. Let's say I have

 

 

Column Name

Data

Data and Data

Phone Number

XXX-XXX-XXX

Data

Data

More Data

 

Now I want to select XXX-XXX-XXX, always the row, which goes after the "Phone Number" row. How I can do this?

 

Thanks!

4 REPLIES 4
alexnajm
17 - Castor
17 - Castor

The Multi-Row Formula tool should help you mark those rows! Something like:

IF Contains([Row-1:Column Name],"Phone Number") THEN 1 ELSE 0 ENDIF

caltang
17 - Castor
17 - Castor

Alternatively, you can try:

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Qiu
21 - Polaris
21 - Polaris

@insomned 
Follow the idea of @alexnajm , a quick sample for your reference.

1001-insomned.png

caltang
17 - Castor
17 - Castor

@insomned if the above helped you, kindly mark them as accepted solutions to close the thread accordingly.

 

By doing so, it also helps other users with similar problems to find the solution better.

 

Thanks!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels