custom data validation in Excel for alpha-numeric-alpha value -


i want force users enter data in specific cell in sequence abcde1234f

i.e. first 5 characters must me letters 4 digits , last must letter using custom data validation.

it quite long:

=and(isnumber(sumproduct(search("~"&mid(a1,row($1:$5),1),"abcdefghijklmnopqrstuvwxyz"))),isnumber(sumproduct(search("~"&mid(a1,row($6:$9),1),"0123456789"))),isnumber(sumproduct(search("~"&mid(a1,10,1),"abcdefghijklmnopqrstuvwxyz"))),len(a1)=10) 

it goes through each of required text characters , checks if number or string. test full range of numbers text. ensures ten characters long.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -