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.
SOLVED

How to extract every nth column starting with the column n

winnoo
5 - Atom

Hello, 

 

I am new to Alteryx. I have an excel workbook and I would like to extract the value from every 4th column starting with column I. How do I go about doing that in Alteryx?  Thank you for the help!

3 REPLIES 3
danilang
19 - Altair
19 - Altair

Hi @winnoo 

 

To extract every nth starting at column M use the following formula in a dynamic select tool configured to "Select via a Formula"

 

 

Mod([FieldNumber]-M,n)=0

 

 

Dyn.png

 

Dan

dho111
7 - Meteor

I like @danilang formula. Here is another way to do it if you want to learn the tools.

 

solution2.JPG

result.JPG

winnoo
5 - Atom

Thank you @danilang and @dho111. Both works and I was able to retrieve the column I needed.

Labels
Top Solution Authors