Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Multi-Row Formula?

insomned
8 - Asteroid

Hello, 

 

I would need the multi-row formula, which would extract everything between two cells, so my data is:

 

Hello 
 x
  
  
 x
  
  
  
 x
Bye 
 d
  
  
 d
Yes 
  
 df
  
 d
No 

 

I want the formula to extract everything between say "Hello" and "Bye" and bring me just:

 

Hello 
 x
  
  
 x
  
  
  
 x

 

Thank you!

4 REPLIES 4
ShankerV
17 - Castor

Hi @insomned 

 

This can be achieved with the help of Multirow formula and filter tool.

 

Many thanks

Shanker V

insomned
8 - Asteroid

Could you please elaborate what exactly should I input in the formula? Thanks!

ShankerV
17 - Castor

Hi @insomned 

 

IF [Field1]= "Hello"
THEN 1
ELSEIF [Field1]= "Bye"
THEN 0
ELSE [Row-1:Temp]
ENDIF

 

ShankerV_0-1680164043308.png

 

Many thanks

Shanker V

 

Raj
16 - Nebula

one way of solving this 

Raj_0-1680166612955.png

 

Labels
Top Solution Authors