4

I would like to have validation on a column that IF you type in the field you have to use 19 letters. But if you leave the field blank you can still save.

Right now I use this:

=IF(LEN([column 1])=19
  • Do you want the letters to be exact 19? – Ganesh Sanap Jan 24 at 7:11
5

Try using below formula:

=IF(ISBLANK([column 1]), true, IF(LEN([column 1])=19, true, false)

This will allow users to add either blank values or the text with length of exact 19 characters.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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