ishanwagmi
New Member
- Joined
- Feb 28, 2014
- Messages
- 9
Hi,
I am stuck with a data validation problem.
I need to validate a cell to allow only characters, numbers and spaces with maximum length of 40 char
e.g. My room no is 402.
I have this formula
=AND(SEARCH(MID(I3,ROW(INDIRECT("1:"&LEN(I3))),1),String),LEN(I3)<=40)
but it doesn't allow space.
Can anyone tell me where I am going wrong.
I am stuck with a data validation problem.
I need to validate a cell to allow only characters, numbers and spaces with maximum length of 40 char
e.g. My room no is 402.
I have this formula
=AND(SEARCH(MID(I3,ROW(INDIRECT("1:"&LEN(I3))),1),String),LEN(I3)<=40)
but it doesn't allow space.
Can anyone tell me where I am going wrong.