I am trying to add validation on multiple dates in SharePoint list.

Example: If end date is added by user the start date shall be mandatory. The start date shall not be greater than end date.

=IF(ISBLANK([End date]),TRUE,[End date]>=[Start date])

This is not working and not making start date mandatory.

1 Answer 1


Use below formula for your list validation settings:

=IF(ISBLANK([End date]),TRUE,AND(NOT(ISBLANK([Start date])),[End date]>=[Start date]))

You have to add this formula under List Validation settings.

Follow below steps:

  1. Go to SharePoint list
  2. Click on Settings icon and select List settings
  3. Select Validation settings
  4. Add formula & user message and click Save

Related threads:

  1. Validation Column Not Working
  2. List validation if then syntax


  1. Sometimes comma(,) does not work in formula (It is based on language or regional settings on your site). So in that case use semicolon(;) instead of comma(,).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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