Excel: Extract data

Returns the data contained in the spreadsheet, and closes the spreadsheet.

Help Centre › Building Processes

Returns the data contained in the spreadsheet, and closes the spreadsheet.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Extract data under Excel › AI, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
VariableYesName of the variable where the result will be stored

What it gives back

  • {__format}
  • {__headings}

See all Excel steps.

Errors

ErrorDescription
Sheet not foundThe specified sheet does not exist.

Tips

  • The extracted data is stored as a table in memory. Use loop-excel to iterate through it.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.