Help Centre › Building Processes
Set validation for a cell.
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Set cell validation under Excel › Formatting, 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. |
| Validation / list | Yes | The allowed values for the dropdown list (one per line) |
| Sheet | Yes | Name of the sheet in the Excel file. Supports wildcards: * matches any characters. |
| Error title | No | Title of the message Excel shows when someone enters a value that is not allowed. For example Invalid value. |
| Error message | No | Text Excel shows when someone enters a value that is not allowed. For example Pick a value from the list. |
| Hint title | No | Title of the hint Excel shows when the cell is selected. For example Status. |
| Hint message | No | Text of the hint Excel shows when the cell is selected. For example Choose Open or Closed. |
| Allow | No | What the cell may hold: list (a dropdown), whole, decimal, date, time, text_length or custom (a formula). Default: list. |
| Alert style | No | How strict Excel is with a wrong value: stop blocks it, warning and information only warn. Default: stop. |
| Compare | No | How the value is checked against Value 1 and Value 2, for example between or greater. Not used for list or custom. Default: between. |
| Value 1 | No | For a list: values separated by commas, for example Yes,No, or a range such as =$A$2:$A$10. For numbers or dates: the minimum, or the value to compare with. For custom: a formula such as =A1>0. |
| Value 2 | No | The maximum, used only with between and not between. For example 100. |
| Cell | Yes | The cell, e.g. A1, or {variable}. |
| Allow empty cells | No | Let the cell be left empty without Excel showing the error. Default: off. |
| Show dropdown arrow | No | For a list, show the dropdown arrow in the cell. Default: on. |
| Show hint | No | Show the hint title and message when the cell is selected. Default: on. |
| Show error | No | Show the error message when a value that is not allowed is entered. Default: on. |
See all Excel steps.
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open |
| Invalid cell | The cell reference is not valid |
Tips
- Creates a dropdown list validation on the specified cells
- Each line becomes an option in the dropdown