Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Read dynamic table in excel

GayatriPanigrahi
8 - Asteroid

Hello,

 

I am trying to read excel file which consist of two table and the position of table structure is inconsistent. Hence i have created column - "ReadPosition" using formula tool which define start and end position of table [PFA image].

I am facing and issue while separating this two tables

4 REPLIES 4
DavidP
17 - Castor
17 - Castor

With the Input Data tool, if you know the cell range of the data you want to load, you can specify it. For instance,

 

filename.xlsx|||Sheet1$A1:D10 will load data from cell A1 to cell D10

 

filename.xlsx|||Sheet1$A1:D will load data from cell A1 to Column D until the last row of data.

 

So if you can determine the cell ranges, you can use a dynamic input tool to load the specific range you want.

GayatriPanigrahi
8 - Asteroid

Hi @DavidP ,

 

The range is not fix

Hence i have create a new column "ReadPosition" which will define the start and end of each table, as mentioned below. 

DavidP
17 - Castor
17 - Castor

If there are some keywords you can pick up for the start of each table, for instance "Amount" in your example, you can create some logic to separate the tables.

 

I've mocked up an example based on your sample data.

 

DavidP_0-1591281599774.png

 

GayatriPanigrahi
8 - Asteroid

@DavidP Bravo!

Thank you for the hint.

Labels