My question is similar to this one I think.
 
My table has a column with repeating values but the rows have unique values and I am wondering if it is possible to consolidate the repeating rows in to a single row with new columns. Example below:
 
Subject   Value                Subject Value Value2
A              1                          A           1         2
A               2          ---->        B           3         4
B              3
B               4