Excel: Column unique values

Return the unique values from a column as a comma-separated list.

Help Centre › Building Processes

Return the unique values from a column as a comma-separated list.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Column unique values under Excel › Columns, 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 Default: result.
ColumnYesThe column letter or name to get unique values from

See all Excel steps.

Errors

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

Tips

  • Empty cells are excluded from the result
  • The order of values follows their first appearance in the column
  • Use this with a loop to iterate over each unique value for grouped processing

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.