Explanation
Data validation rules are triggered when a user adds or changes a cell value.
If the count is less than 2, the expression returns TRUE and validation succeeds.
If not, the expression returns FALSE and validation fails.
COUNTIF can be used to count…