EXCEL Add table function

The EXCEL Add table function creates a structured Excel table from a data range.

Help CentreBuilding Processes

This article describes the RPA Excel functionality to create a structured Excel table from a data range.

For a full list of available functions, please read EXCEL functions.


Description

The EXCEL Add table function creates a structured Excel table from a data range. Tables provide automatic filtering, styling, and structured references.


Setting it up

To use the EXCEL Add table function, follow these instructions:

{{popups:rpas/add:action=excel-add-table}}

Once on a process map:

  1. Navigate to the process where you would like to add the EXCEL Add table function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the EXCEL Add table option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the Excel file.
SheetYesTextName of the sheet.
Table nameYesTextName for the table.
Data rangeNoTextUsed rangeData range (e.g. A1:D10). Defaults to the used range.
Table styleNoTextTableStyleMedium2Table style (e.g. TableStyleMedium2).
First row contains headersNoBooleanOnWhether the first row contains headers.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
File not openThe Excel file must be open.
Sheet not foundThe specified sheet does not exist.
Invalid rangeThe data range is not valid.
Table name existsA table with this name already exists.

Tips

  • Table names must be unique within the workbook.
  • Use List tables to see all tables in a sheet.
  • Tables provide structured references like TableName[ColumnName] in formulas.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.