Provided that you can add the Product as a separate column it is relatively straightforward. Here is the input I used:
First use GroupBy node to group on Product, and aggregate Var columns by concatenation. Then split each aggregated Var column into separate columns using the Cell Splitter node 3 times (it can only handle 1 column at a time).