Sharepoint List validation formula help

Siddrow 20 Reputation points
2024-06-17T05:03:45.1033333+00:00

Hi

I am trying to add a validation setting to my list, however my formula isn't working.

If someone changes the status column to "completed" I then want the date completed flagged as a required field and the % complete column to flag as requiring 100% and no less before they can save the changes. The % completed column value is defaulted to 0%, not blank.

=IF(Status="Completed",IF(ISBLANK([Date Completed]),IF([% Complete]<100),FALSE,TRUE),TRUE))

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,059 questions
0 comments No comments
{count} votes

Accepted answer
  1. AllenXu-MSFT 17,501 Reputation points Microsoft Vendor
    2024-06-17T06:45:18.79+00:00

    Hi @Siddrow,

    Please use the below formula. As per my test, it works perfectly in my environment. The reason why your formula is not working I think is that ISBLANK function does not work for a date and time column.

    =IF(status="Completed",IF(OR([Date Completed]="",[% Complete]<1),FALSE,TRUE))

    User's image


    If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful