Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Skip if any is true

Howdy all.

I have a Grid question with 7 rows. I have a follow-up open-end question that needs to be shown if any of the 7 previous equals a specific response option.

I initially tried a series of OR statements:

Grid_r1<>3 or Grid_r2<>3 or Grid_r3<>3 etc

but I keep running int the Grid_r1 condition improperly overwriting the Grid_r2 condition (for example).

Would appreciate any thoughts. Thanks.
asked Nov 16 by Colin Linerode Bronze (1,695 points)

1 Answer

0 votes
Best answer
Are you trying to ask the open end if any of those 3 rows are a 3?  If so you should have a preskip on the open end skipping to the next question and use and statements instead of or.

Grid_r1<>3 And Grid_r2<>3 And Grid_r3<>3
answered Nov 16 by Jay Rutherford Platinum (52,065 points)
selected Nov 16 by Colin Linerode
Hi Jay. Yes, any of the _r values equal a 3. Your "AND" solution works. Thank you.
Fantastic!  Glad you got it sorted.