The Problem
I am trying to find a way to simplify data in multiple columns. Some columns have duplicate COLOUR values with a unique ID and a corresponding QTY. The ideal result would be a concatenated ID (based on duplicates), a sum of the QTY (based on duplicates) and consolidation of COLOUR (removing duplicates). Everything I have found so far doesn't quite fit the scenario and the expected outcome in the table below. Whatever the solution may be, there will be hundreds of unique entries in the ID column and COLOUR column so the solution must take that into consideration. Any help would be appreciated.
Sample Data
| ID | COLOUR | QTY |
|---|---|---|
| A1 | BLUE | 1 |
| B1 | GREEN | 2 |
| A2 | BLUE | 1 |
| A3 | BLUE | 1 |
| B2 | GREEN | 1 |
Expected Outcome
| ID | COLOUR | QTY |
|---|---|---|
| A1, A2, A3 | BLUE | 3 |
| B1, B2 | GREEN | 3 |


