+ Start a Discussion
HNT_NeoHNT_Neo 

Help with adding additional exempt profiles in Validation Rule

Hello, 

I'm trying to add additional user ids to the end of this VR:
IF(Op_Assignment__c , true, false)&& 
(NOT($User.Id="005A0000000EcVf"))

I'd like to add these User Ids but not sure the correct syntax without repeating the NOT formula. 
005A0000005MNBy
005A0000004nNCy
 
HNT_NeoHNT_Neo
Would like to verify if there is another method besides this: 
 
IF(Exclude_from_Zip_Assignment__c , true, false)&&
(NOT($User.Id="005A0000000EcVf")) || (NOT($User.Id="005A0000005MNBy")) || (NOT($User.Id="005A0000004nNCy"))

 
HNT_NeoHNT_Neo
Would like to verify if there is another method besides this: 
 
IF(Exclude_from_Zip_Assignment__c , true, false) &&
(NOT(OR($User.Id="005A0000000EcVf"))) && 
(NOT(OR($User.Id="005A0000005MNBy"))) && 
(NOT(OR($User.Id="005A0000004nNCy")))

 
kjunkjun
IF(Exclude_from_Zip_Assignment__c , true, false) && 
(NOT(OR($User.Id="005A0000000EcVf")) && (NOT($User.Id="005A0000005xzPz")))
This should work