Share via

SharePoint validation between two date columns in the same list

Anonymous
2018-02-16T14:37:52+00:00

I have created a leave request list. I want to make sure that the End Date entered is greater than or equal to the Start Date. In the End Date column validation setting, I entered the formula:

=[End Date]>=[Start Date]

i get the error message: Check the formula for spelling mistakes or update the formula to reference only this column.

Is there an alternative to using validation to ensure an acceptable value in the End Date column of the same or a future date as Start Date?

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-02-16T17:14:29+00:00

Hi Shep,

Column validation is used to validate datatype. To achieve the validation between different columns, you need to use the following steps:

  1. Go to List settings > General Settings > Validation settings.
  2. Add your formula, save your changes and test.

All the explaination can be found in this similar thread: SharePoint 2013: The formula cannot refer to another column

Regards,

Sky

Was this answer helpful?

7 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2018-02-16T19:39:41+00:00

    Sky,

    Thank you very much! Worked like a charm.

    Shep

    Was this answer helpful?

    0 comments No comments