Data Input Validation

M

Mark S

I am trying to limit user input to a range of cells to one of 15 single
letters or blank only. I can get the data validation tool to limit to a
single text character, but i can not seem to get it to limit it to the 15
"approved" text letters. Can any one give me any ideas (Excel 2007) ? Many
Thanks,
 
T

Tyro

If input cell is A1 and your allowable characters are "abcxyz" and blank
then: =IF(LEN(A1)<=1,SEARCH(A1,"abcxyz")) which is case insensitive
If you want it to be case sensitive, use =IF(LEN(A1)<=1,FIND(A1,"abcxyz"))

Tyro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top