SOLVED

Sharepoint Column Validation

%3CLINGO-SUB%20id%3D%22lingo-sub-3517722%22%20slang%3D%22en-US%22%3ESharepoint%20Column%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3517722%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20find%20a%20Formula%20in%20Column%20Validation%20that%20only%20allows%20the%20user%20to%20enter%20a%20number%20or%20certain%20letters%20(Q%2C%20V%2C%20Sa%2C%20Su).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20direct%20me%3F%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3517722%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3519402%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Column%20Validation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3519402%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1415550%22%20target%3D%22_blank%22%3E%40as733y%3C%2FA%3E%26nbsp%3BTry%20using%20column%20validation%20formula%20like%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-javascript%22%3E%3CCODE%3E%3DOR(ISNUMBER(MyCustomCol%2B0)%2CMyCustomCol%3D%22Q%22%2CMyCustomCol%3D%22V%22%2CMyCustomCol%3D%22Sa%22%2CMyCustomCol%3D%22Su%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%26nbsp%3B%3CSTRONG%3EMyCustomCol%3C%2FSTRONG%3E%20is%20the%20name%20of%20same%20column%20where%20this%20formula%20is%20added.%26nbsp%3B%3C%2FP%3E%3CHR%20%2F%3E%3CP%3EPlease%20click%20%3CSTRONG%3EMark%20as%20Best%20Response%3C%2FSTRONG%3E%20%26amp%3B%20%3CSTRONG%3ELike%3C%2FSTRONG%3E%20if%20my%20post%20helped%20you%20to%20solve%20your%20issue.%20This%20will%20help%20others%20to%20find%20the%20correct%20solution%20easily.%20It%20also%20closes%20the%20item.%20If%20the%20post%20was%20useful%20in%20other%20ways%2C%20please%20consider%20giving%20it%20%3CSTRONG%3ELike%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Visitor

Hello,

 

I'm trying to find a Formula in Column Validation that only allows the user to enter a number or certain letters (Q, V, Sa, Su).

 

Can anyone direct me? Thank you!

1 Reply
best response confirmed by as733y (Frequent Visitor)
Solution

@as733y Try using column validation formula like: 

 

=OR(ISNUMBER(MyCustomCol+0),MyCustomCol="Q",MyCustomCol="V",MyCustomCol="Sa",MyCustomCol="Su")

 

Where MyCustomCol is the name of same column where this formula is added. 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.