Help Centre › Building Processes
Find duplicate rows based on specified key columns and store their row numbers.
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Find duplicates under Excel › Search & Filter, 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. |
| Columns | Yes | The column header(s) to use as key(s) for matching |
| Convert values to lower case | No | Ignore case when comparing values Default: off. |
| Variable | No | Name of the variable that gets the row numbers of the duplicate rows. For example duplicates. Default: duplicates. |
| Remove whitespace from both sides of values | No | Remove leading and trailing whitespace from values Default: off. |
What it gives back
{duplicates}
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 |
Tips
- Duplicate rows are removed based on the specified columns
- Enable trim and lower case for more accurate duplicate detection