Skip to main content

Convert Excel to Table

Converts an Excel file to data table.

Category: Structured Data Files (Excel, JSON, PDF) · Group: Data Processing · Activity name: ExcelToTable

The ExcelToTable activity in the designer

Example

outputVariable = ExcelToTable("<filePath>", "<sheetName>", sheetIndex=0, rowToSkip=1)

Inputs

NameTypeRequiredDefaultDescription
File PathstringYesThe path to your .xlsx file.
Sheet NamestringYesThe name of the sheet to read the data table from. If specified, sheet index is ignored. If none specified, all data is extracted.
Sheet IndexintegerThe index of the sheet to read the data table from. Ignored when sheet name specified. If none specified, all data is extracted.
Start Row Indexinteger1The index of the row from which the table reading should start (first row has index 1). If ignored it will start from the first row.

Outputs

NameTypeDescription
outputVariablearraySpecifies the name of the variable that will store the results.