Share via

Data Validation Lists Based On IF Formula

Anonymous
2013-05-28T11:14:25+00:00

Could a data validation be set on a LIST and the source be result of another cell but values hard coded instead of being a cell(s) reference?

For example something like:

Selecting List in the Validation Criteria allow but Source containing a formula like

=if(A1>100,{"A","B","C","D"},{"E","F","G","H"})

Instead of a cell reference via Indirect and Named Ranges?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2013-05-28T11:33:24+00:00

Unfortunately, no. If you try to use a constant array, you get an error message

"You may not use reference operators (such as unions, intersections and ranges) or array constants for Data Validation criteria."

The list must be a delimited list, or a reference to a single row or column.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful