Hi there
I am analyzing survey data and the respondents were asked to allocate 100 points across 7 attributes. The way the data is displayed, is that each attribute is a separate row, with the respondents' scores for each attribute in separate columns:
| ID | QB2R1 | QB2R2 | QB2R3 | QB2R4 | QB2R5 | QB2R6 | QB2R7 | QB2R97 | QB2RSCT | NEW_COLUMN |
| 01 | 0 | 20 | 20 | 0 | 10 | 40 | 10 | 0 | 100 | QB2R6 |
| 02 | 5 | 5 | 10 | 20 | 30 | 20 | 10 | 0 | 100 | QB2R5 |
| 03 | 10 | 0 | 10 | 20 | 10 | 10 | 40 | 0 | 100 | QB2R7 |
I want to define a new column that returns the column name of the column with the highest score across all of the columns (see example "NEW_COLUMN" above). Is there a way to do this?
If a participant has entered the same score for the multiple top columns, then I just want the formula to return one column name (doesn't matter which one).
Please help!