HI all, could find an answer to this (or, probably could not formulate the search correctly)
Here is my problem. I have the following dataset:
| ID | NAME |
| 1 | ABC |
| 2 | ABC |
| 3 | DEF |
| 4 | GIH |
| 5 | XYZ |
Neither ID nor Name are unique
I need to create the following structure:
| ID | NAME | ABC | DEF | GIH | XYZ |
| 1 | ABC | ||||
| 2 | ABC | ||||
| 3 | DEF | ||||
| 4 | GIH | ||||
| 5 | XYZ |
in other words, for each name I need to create a variable that is called the same
Any suggestions?
Thank you in advance,
Constantin

Comment