3

I made the following Google script to check whether a string is less than some length:

function isLengthLessThan(length, text) {
  return (text.length < length)
};

How can I set up data validation using this custom formula to check the length of cells? What can I put where the question mark is so that it will represent the value of the cell?

custom formula data validation screen

1 Answer 1

4

Please try:

=len(A1)>9  

applied to a range starting with A1.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.