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

Alteryx Designer Desktop Discussions

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

Extract data from middle of Excel with multiple categories

srk0609
8 - Asteroid

Hi, I want to extract data from middle of Excel sheet. I want to extract rows and columns only pertaining to AMERICA. The number of rows may vary it wont always be same number and there are some hidden rows(13,14,16,17) which should not be extracted. Can anyone help me?  I am attaching Excel file as well. Thank you.

srk0609_0-1653082695922.png

 

13 REPLIES 13
srk0609
8 - Asteroid

Thank you so much for prompt response. I will try what you suggested and mark it as solution as soon as I get result.

Could you please explain the code in multi formula? how is it working? Thank you

srk0609_0-1653412408840.png

 

srk0609
8 - Asteroid

Hi Ira,

 

Can you please explain how is the multi formula working?

srk0609_0-1653414212499.png

How is it filling new section with country name?

IraWatt
17 - Castor
17 - Castor

Hey @srk0609

what the multi row formula does is go line by line applying the logic in the formula bar. This formula checks the row above's Australia column, if its value is "Name" Then take the use the value of the Australia column in the current row. Else just take the value of this new column from the row above. The first row the row above is NULL so that's why the initial new column is filled with NULLS.

Hope that made some sense, there are some great videos on multi row formula on the community if you want to check them out.

 

srk0609
8 - Asteroid

Thank you for solution, Ira

Labels
Top Solution Authors