I need to have a list validation using SharePoint 2010. What I am looking for is something like this:

if( ( A && B ) || C )

Where A, B and C are expressions. I have the first part, A && B working but not the rest. This is what I have for A && B:


How would I expand this to add an OR statement? The OR will be something like this:


It would be exactly the same as you have written it in your first code line:

=IF( ( AND([FieldA]>[FieldB],[FieldC]>[FieldB]) ), OR([FieldB]>=[FieldD]) )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.