Could anyone help tell me how to do it in EXCEL? I could use pivot sql but not sure how to make it happen in Excel.
Here is initial data
| ID | Type |
|---|---|
| 1 | Type1 |
| 1 | Type2 |
| 2 | Type1 |
| 3 | Type1 |
| 3 | Type2 |
| 4 | Type2 |
| 5 | Type1 |
| 5 | Type2 |
New data layout
| ID | Type1 | Type2 |
|---|---|---|
| 1 | Type1 | Type2 |
| 2 | Type1 | |
| 3 | Type1 | Type2 |
| 4 | Type2 | |
| 5 | Type1 | Type2 |