Excel: Set cell validation

Set validation for a cell.

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

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.
Validation / listYesThe allowed values for the dropdown list (one per line)
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
Error titleNoTitle of the message Excel shows when someone enters a value that is not allowed. For example Invalid value.
Error messageNoText Excel shows when someone enters a value that is not allowed. For example Pick a value from the list.
Hint titleNoTitle of the hint Excel shows when the cell is selected. For example Status.
Hint messageNoText of the hint Excel shows when the cell is selected. For example Choose Open or Closed.
AllowNoWhat the cell may hold: list (a dropdown), whole, decimal, date, time, text_length or custom (a formula). Default: list.
Alert styleNoHow strict Excel is with a wrong value: stop blocks it, warning and information only warn. Default: stop.
CompareNoHow the value is checked against Value 1 and Value 2, for example between or greater. Not used for list or custom. Default: between.
Value 1NoFor 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 2NoThe maximum, used only with between and not between. For example 100.
CellYesThe cell, e.g. A1, or {variable}.
Allow empty cellsNoLet the cell be left empty without Excel showing the error. Default: off.
Show dropdown arrowNoFor a list, show the dropdown arrow in the cell. Default: on.
Show hintNoShow the hint title and message when the cell is selected. Default: on.
Show errorNoShow the error message when a value that is not allowed is entered. Default: on.

See all Excel steps.

Errors

ErrorDescription
File not openThe Excel file must be open
Invalid cellThe cell reference is not valid

Tips

  • Creates a dropdown list validation on the specified cells
  • Each line becomes an option in the dropdown

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.