Ok, I don't think I explained properly before I need the table on the left to be consolidated into the table on the right.
Thanks
If your values are always numeric, and if your ids are unique, and if a column only has one entry for each id, you can do it with a formula. Take your id and date column and copy them, then remove duplicates. Then use sumifs to calculate the values:
=sumifs(C:C, $A:$A, J2)
Copy this starting in L2 and copy over and down).
Let me know if that helps.