Question

I need to validate a Text field and ensure the number enter is anything between 0 and 7. I tried many options but can't get it. What syntax do i add to this to allow any number from 0 thru 7 to be entered? So far i have

=LEN([Scheduled Day]+1)
+ISNUMBER([Scheduled Day]+0)
=2
Was it helpful?

Solution

Try this:

=AND(VALUE([Scheduled Day])>=0,VALUE([Scheduled Day])<=7)

OTHER TIPS

You can try to add the field of "Number" type field and make the following settings.

  • Field Type - Number
  • Column settings: You can specify a minimum and maximum allowed value (Minimum -0 and Maximum-7)

enter image description here

It will do the out of box validation and throughs error if the number is not in the range.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top