column validation with username and date

Egycruiser 21 Reputation points
2022-01-10T10:28:58.297+00:00

hi guys
i need to validate the following
a value in the date column cannot be set before todays date for all users but one user only can enter a date in the past.
i tried this but did not work

=IF([Modified By]="Last, First",TRUE,IF([Back to Production on]>=TODAY(),TRUE,FALSE))

Microsoft 365 and Office SharePoint Server For business
Microsoft 365 and Office SharePoint Server Development
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,461 Reputation points
    2022-01-11T07:53:40.84+00:00

    Hi @Egycruiser ,

    Person or group colum is a complex column. We are not able to use person or group fields in SharePoint Formula. As you can see "Created By", "Modified By" and "Checked Out To" columns are missing in the "Insert Column" list on the Validation Settings page.

    163843-capture1.png

    163852-capture.png

    Therefore we can't use properties like loginname/displayname/email.


    If the answer is helpful, please click "Accept 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.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. sadomovalex 3,636 Reputation points
    2022-01-10T15:13:33.94+00:00

    did you try to use [Me] keyword for getting name of current user?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.