Hi all, I have a problem where I want to combine data for some IDs which is currently in the following format:
| ID1 | Question 1 | Answer 1 |
| ID1 | Q2 | A2 |
| ID1 | Q3 | A3 |
| ID2 | Q1 | A1 |
| ID2 | Q2 | A2 |
| ID2 | Q3 | A3 |
| ID2 | Q4 | A4 |
| ID2 | Q5 | A5 |
What I would like to achieve is the following:
| ID | Q1 | Q2 | Q3 | Q4 |
| ID1 | A1 for ID 1 | A2 for ID1 | A3 for ID1 | Blank |
| ID2 | A1 for ID 2 | A2 for ID2 | A3 for ID2 | A4 for ID2 |
So questions 1 to 3 are asked both for ID1 and ID2, I want to get those questions in the column header and the answers to them in the rows. For ID2 2 additional questions were asked, so I want them also in there, with blank cells for ID1 since these questions were not asked for this ID.
Does anyone know how to solve this? Your help is much appreciated!