List Validation On Three Fields

Not Null 41 Reputation points
2020-08-12T23:11:18.38+00:00

I'm trying to figure out the formula to validate three fields but I'm having trouble getting it to work.

Logic:
If [Request Type] <> "Upcoming Project" and Department = "IT", then [Service Location] <> ""

If the Request Type is not Upcoming Project, Department is IT, then Service Location cannot be empty.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments

Answer accepted by question author

Emily Du-MSFT 51,986 Reputation points Microsoft External Staff
2020-08-13T08:07:54.443+00:00

You could use following formula in the list validation settings.

IF(AND([Request Type]<>"Upcoming Project", [Department]="IT"), IF([Service Location]<>"",TRUE,FALSE),TRUE)

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

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