Hi,
I am facing a problem with totalling values from a report, I will now attempt to describe the problem clearly:
So I have 2 worksheets in this book, the summary worksheet is as below and this worksheet is the one I need to count all totals from the main worksheet, this worksheet contains ALL Product Types and Product Colour combinations (the 6 rows are purely for example and there are a lot more in the actuall summary)
<tbody>
</tbody>
The main worksheet where the values are that I hope will populate the summary sheet:
This sheet contains 30 or so different locations of shops with the different product and product colour that they sell
The shop information is contained one after the other and seperated by 2 blank rows before the next one begins
e.g
LOCATION1
<tbody>
</tbody>
LOCATION2
<tbody>
</tbody>
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody></tbody>etc... and this goes on for another 30 different locations with all the different product/colour combinations and the values against each criteria.
So what I want to do is be able to count every value for every Product/Colour combo that exists and put it into the summary sheet. So I need a formula that would look up the combo in the summary sheet then go through the entire main sheet and count all values for all 30 locations against the particular combos.
I hope I have explained this clearly, I've tried a few formulas like sum product but to no avail, the main problem being is that its not actually counting how many times a product is listed but it needs to fetch the value next to the combo under the right heading.
Another problem I face is that the data is not all aligned in the main sheet, for example location 1 may run from columns B:H and location 2 from A:G etc... so I think I need a formula that explicitly searches by values.
hope someone can help me out with this,
thanks in advance

I am facing a problem with totalling values from a report, I will now attempt to describe the problem clearly:
So I have 2 worksheets in this book, the summary worksheet is as below and this worksheet is the one I need to count all totals from the main worksheet, this worksheet contains ALL Product Types and Product Colour combinations (the 6 rows are purely for example and there are a lot more in the actuall summary)
Product Type | Product Colour | Ordered | Despatched | Returned | Faulty | ||
Laptop | blue | ||||||
Desktop | white | ||||||
Monitor | black | ||||||
Mouse | blue | ||||||
Laptop | white |
<tbody>
</tbody>
The main worksheet where the values are that I hope will populate the summary sheet:
This sheet contains 30 or so different locations of shops with the different product and product colour that they sell
The shop information is contained one after the other and seperated by 2 blank rows before the next one begins
e.g
LOCATION1
Product Type | Colour | Ordered | Despatched | Returned | Faulty |
Laptop | blue | 5 | 8 | 2 | 2 |
Laptop White | white | 5 | 15 | 3 | 3 |
Mouse | blue | 9 | 55 | 2 | 1 |
<tbody>
</tbody>
LOCATION2
Product Type | Colour | Ordered | Despatched | Returned | Faulty |
Laptop | blue | ||||
Monitor | black | ||||
Mouse | blue |
<tbody>
</tbody>
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody></tbody>
So what I want to do is be able to count every value for every Product/Colour combo that exists and put it into the summary sheet. So I need a formula that would look up the combo in the summary sheet then go through the entire main sheet and count all values for all 30 locations against the particular combos.
I hope I have explained this clearly, I've tried a few formulas like sum product but to no avail, the main problem being is that its not actually counting how many times a product is listed but it needs to fetch the value next to the combo under the right heading.
Another problem I face is that the data is not all aligned in the main sheet, for example location 1 may run from columns B:H and location 2 from A:G etc... so I think I need a formula that explicitly searches by values.
hope someone can help me out with this,
thanks in advance