How to select cases based on criteria of several variables in SPSS?
<p>In a dataset, there are 10 variables V1, V2,..., V10.  </p>

<p>How can I select cases in which the value of any of those variables is greater or equal, say, 10?  </p>

<p>I tried this but it didn't work:  </p>

<pre><code>temporary.
select if any(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, ge 10).
list id.
</code></pre>

<p>This and a couple of others didn't work either:</p>

<pre><code>select if ((v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) ge 10).
</code></pre>