EXCEL Sort columns function

The EXCEL Sort columns function in RPA.

Help CentreBuilding 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:

  1. Navigate to the process where you would like to add the EXCEL Sort columns 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 Sort columns option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
SheetYesText-The name of the sheet
ColumnsYesTextarea-Column names in the desired order, separated by line breaks

Output variables

This action does not produce output variables.


Errors

ErrorDescription
File not openThe Excel file must be open
Sheet not foundThe specified sheet does not exist

Tips

  • Rearranges columns to match the specified order
  • Columns not listed are placed after the listed ones

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.