AnsweredAssumed Answered

How to implement multiple/nested and/or statements

Question asked by ByronTsang on Nov 28, 2018
Latest reply on Nov 29, 2018 by ByronTsang

I'm having trouble finding the correct syntax for series of and/or conditions within an IF() calculation. how do AND and OR operators group naturally, and do parenthetical groupings parse correctly when Survey123 does calculations?


In other words: would the following result in valid syntax for something like the following:


IF(  (A and B) or (C and D), [return x], [else return Y] )


obviously this is simplified, but I'm trying to build a calculate question based on several combined inputs and other calculations.