title: How to combine info from multiple variables into one in SPSS?
body: <p>I have problem with this basic task. I need to combine info from multiple variables into one. I know how to do it in R, but unfortunately I have to it in SPSS and it drives me crazy.</p>
  <p>I know it is basic, but I would really appreciate if you could help me with this one.</p>
  <p>My dataset looks like this:</p>
  <pre><code>Russian  German Chinese
  Yes       No     No
  Yes       No     No
  No        Yes    No
  n.v.t.    n.v.t  n.v.t.
  No        No     Yes
  </code></pre>
  <p>That is how it should look like:
  Russian = 1, German = 2, Chinese = 3.</p>
  <pre><code>Nationality
  1
  1
  2
  -
  3
  </code></pre>