I'm consolidating survey results and my input data is in the following format:
| Section | Question number | Question | Response |
| 1 | 1.01 | Placeholder 1 | Company 1 response - 1.01 |
| 1 | 1.02 | Placeholder 2 | Company 1 response - 1.02 |
| 1 | 1.03 | Placeholder 3 | Company 1 response - 1.03 |
| 1 | 1.04 | Placeholder 4 | Company 1 response - 1.04 |
| 1 | 1.05 | Placeholder 5 | Company 1 response - 1.05 |
| 1 | 1.01 | Placeholder 1 | Company 2 response - 1.01 |
| 1 | 1.02 | Placeholder 2 | Company 2 response - 1.02 |
| 1 | 1.03 | Placeholder 3 | Company 2 response - 1.03 |
| 1 | 1.04 | Placeholder 4 | Company 2 response - 1.04 |
| 1 | 1.05 | Placeholder 5 | Company 2 response - 1.05 |
| 1 | 1.01 | Placeholder 1 | Company 3 response - 1.01 |
| 1 | 1.02 | Placeholder 2 | Company 3 response - 1.02 |
| 1 | 1.03 | Placeholder 3 | Company 3 response - 1.03 |
| 1 | 1.04 | Placeholder 4 | Company 3 response - 1.04 |
| 1 | 1.05 | Placeholder 5 | Company 3 response - 1.05 |
I would like to get in the following output format:
| Section | Question number | Question | Response 1 | Response 2 | Response 3 |
| 1 | 1.01 | Placeholder 1 | Company 1 response - 1.01 | Company 2 response - 1.01 | Company 3 response - 1.01 |
| 1 | 1.02 | Placeholder 2 | Company 1 response - 1.02 | Company 2 response - 1.02 | Company 3 response - 1.02 |
| 1 | 1.03 | Placeholder 3 | Company 1 response - 1.03 | Company 2 response - 1.03 | Company 3 response - 1.03 |
| 1 | 1.04 | Placeholder 4 | Company 1 response - 1.04 | Company 2 response - 1.04 | Company 3 response - 1.04 |
| 1 | 1.05 | Placeholder 5 | Company 1 response - 1.05 | Company 2 response - 1.05 | Company 3 response - 1.05 |
(I don't care much about the header names as I can always update them later), but essentially I'm asking how I can keep the first 3 columns and then transpose the response column to be separate for each company's response. I know it's probaby either the transpose or cross tab tool, but I haven't used them in a while so I'm rusty and confused.
Caveats:
- Some of the company responses have commas within the response, so cross tab and parsing by commas won't work
- In some cases, the first 3 columns have the same exact wording, which causes confusion because it looks like Alteryx combines them (see the "Details" row below)
Example:
| Section | Question number | Question |
| 1 | 1.01 | Question 1a |
| 1 | 1.01 | Details |
| 1 | 1.01 | Question 1b |
| 1 | 1.01 | Details |