I have a set of data where we asked in which industry a respondent works. They are given a small list of options and can only select one. When the data comes back from processing, that single question is blown out to one variable per option rather than a single variable with multiple coded labels. What I am trying to figure out is how to use a JMP formula to read each of the variables within a case and apply the appropriate coded label in a new variable based on where the 1 or "Yes" is located.
I could easily do this in Excel and import the data back into JMP, but I would really like to learn how to do this within JMP.
Does anyone have a good example of collapsing multiple binary variables into one using formulas?