In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Include Data Only after a row containing a specific word

lil_t
6 - Meteoroid

Hi there,

 

I have a excel file that contains data formatted like this:

NameJanFebMarchApril MayJune
Cat1234  
Dog 34   
Fish13    
Include2874  
Cat563   
Dog 74   
Exclude514144  
       

 

How do I only include the rows starting and ending at Include?  (Bolded)

 

Thank you!

3 REPLIES 3
BrandonB
Alteryx
Alteryx

I like to use a formula tool to make a flag on the row where name contains the value, then use a running total on the flag column, and then a filter where you can say only include the rows where the running total is zero. Workflow is attached!

 

flag.png

BrandonB
Alteryx
Alteryx

I would use a multi row formula instead of a formula if you also need to include the row that says include. See workflow attached. 

lil_t
6 - Meteoroid

Thank you, that worked!

Labels
Top Solution Authors