Unless you provide a bit more information you are unlikely to get a
answer! How is the data structured for example. Are the classes fixe
so everything has to be for example in one of 4 classes. Does it nee
to be split by anything else.
If the data is in a list try looking at pivot tables, or sumif
countif, sumproduct.
The more time you take to explain what you are requiring, the mor
chance someone will give you an answer that will work. On the forum i
is generally thought to be bad practice to include attachments, as the
may have viruses.
Regards
Da