SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to write column validation to check if the entered text is number? I have a column named Year of type Single line of text. I would like to be able to stop the user if he or she enters the text other than number.

By the way, I don't want to have my column as Number; this solution t doesn't work for my design.

Thanks for helping me.

share|improve this question
up vote 10 down vote accepted

In the Column Validation settings (Edit the Column and it is an expandable section near the bottom) you can use this formula:

=ISNUMBER([My Column]+0)

Just Replace My Column with your actual Column's name

share|improve this answer
May I know what is the reason of +0? – Mark Mar 18 '15 at 2:32
I don't know why but it seems to need the +0 (casts it to number?) I tried without the +0 and the column could not validate. – Roland Feb 1 at 4:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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