Group by functionality in table

This would be the way to go....

Also, this post may put you in the right direction: