Help Centre › Building Processes
This article describes the RPA Excel functionality to sort columns.
For a full list of available functions, please read EXCEL functions.
Description
The EXCEL Sort columns function allows you to sort columns.
Setting it up
To use the EXCEL Sort columns function, follow these instructions:
{{popups:rpas/add:action=excel-sort-columns}}
Once on a process map:
- Navigate to the process where you would like to add the EXCEL Sort columns function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the EXCEL Sort columns option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Sheet | Yes | Text | - | The name of the sheet |
| Columns | Yes | Textarea | - | Column names in the desired order, separated by line breaks |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open |
| Sheet not found | The specified sheet does not exist |
Tips
- Rearranges columns to match the specified order
- Columns not listed are placed after the listed ones