Help Centre › Building Processes
Strip leading and trailing whitespace from all cells in a column.
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Trim column whitespace under Excel › Columns, 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. |
| Column | Yes | The name of the column to trim. Leading and trailing whitespace will be stripped from all cells. |
See all Excel steps.
Example
| Before | After |
|---|---|
Acme Corp | Acme Corp |
Beta Inc | Beta Inc |
Gamma Ltd | Gamma Ltd |
Tips
- Run this before lookups, deduplication, or comparisons to avoid mismatches caused by invisible whitespace
- This only removes leading and trailing whitespace – spaces within the text are preserved