Consider the following table. In column A I have many different categories.
A
A B c 1 category product amount