Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

How do I get row range in Excel format as Input

yosukewatanabe
7 - Meteor

Hi,

 

I want to get the specific range of row in Excel file.

For example, the following Excel file, I want get the data of 2nd and 3rd row.

 

001.jpg

 

best regards,

4 REPLIES 4
patrick_digan
17 - Castor
17 - Castor

@yosukewatanabe For an xlsx file, you can use the SQL editor to write something like:

 

SELECT * FROM `Sheet1$A2:I3`

Capture.PNG

 

Here is a picture.

 

Alternatively, you could also bring in the entire file like normal and then use the select records tool to grab those 2 rows. You could use the dynamic rename if you needed to rename the columns.

yosukewatanabe
7 - Meteor

Hi @patrick_digan

 

Thank you for your reply.

 

Certainly, this method is used when the number of columns is identical.

 

However,what if the number of columns is not identical?

 

for example, one excel worksheet has 8 colums(A-H), the other one has 10 colums(A-J).

 

Best regards,

patrick_digan
17 - Castor
17 - Castor

@yosukewatanabe how about 

SELECT * FROM `Sheet1$2:3`

That seemed to work.

yosukewatanabe
7 - Meteor

Thank you for your answer.

 

I had get the data in row range!

 

Labels