Help Centre › Building Processes
Create a pivot table from a data range. Windows only - macOS does not support pivot table creation via COM.
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Add pivot table under Excel › Charts & Tables, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File path | No | Enter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened. |
| Sheet | Yes | Name of the sheet in the Excel file. Supports wildcards: * matches any characters. |
| Source data range | Yes | Source data range (e.g. A1:D100). Defaults to the used range. |
| Pivot table name | Yes | Name for the pivot table. |
| Destination | Yes | Destination cell (e.g. G1) or 'sheet:NewSheetName' to create on a new sheet. |
See all Excel steps.
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open. |
| Sheet not found | The specified sheet does not exist. |
| Invalid range | The source data range is not valid. |
| Not supported | Pivot table creation is only supported on Windows. |
Tips
- This function is Windows only – macOS does not support pivot table creation via COM.
- Use 'sheet:PivotSheet' as the destination to place the pivot table on a new sheet.
- Use the Remove pivot table function to delete pivot tables.