I want to write a Validation Rule where close date cannot be set in past, but if Sys Admins require, only they can edit closed date to past dates.
Below is the Validation Rule rule which I have written but it is not working as per plan.
CloseDate < Today()&&
NOT( ISPICKVAL($User.User_Type__c, "Administrator"))