Hello, I am trying to do a sheet where i look up data and bring back a total. I have 2 spreadsheets 1 with the data and 1 as a front sheet. I need the front sheet to look at the data and bring back the total.
This is the data sheet
<colgroup><col><col><col span="4"></colgroup><tbody>
</tbody>
This is the front sheet
<colgroup><col span="4"><col></colgroup><tbody>
</tbody>
What I am trying to achieve is... On the Front sheet I have different tabs for each week - 01/06, 08/06, 15/06 etc... I am unable to work out the formula that will look up the date and product description to then count how many criteria there is. so in the above for the 01/06 we have a total of 3 crisp products, and with those 3 codes we have 2 which are <min range (<1Week and <2Weeks) and 1 that is max range (<5Weeks and >5Weeks). Is there a a formula that can do this? I have tried Sumproduct index and match but keep getting #value ????
Sorry if this is a little confusing and long winded.
Mike
This is the data sheet
Coverage | |||||
Product Code | Product Description | 01-Jun | 08-Jun | 15-Jun | 22-Jun |
1234 | Crisps | <2Weeks | <1Week | <1Week | <1Week |
4567 | Crisps | <2Weeks | <2Weeks | <3Weeks | <3Weeks |
1313 | snack | <4Weeks | <4Weeks | <4Weeks | <3Weeks |
5555 | Drink | >5Weeks | >5Weeks | >5Weeks | >5Weeks |
6666 | snack | <2Weeks | <1Week | <1Week | <1Week |
9876 | Crisps | >5Weeks | <5Weeks | >5Weeks | >5Weeks |
8546 | snack | <4Weeks | <3Weeks | <4Weeks | <3Weeks |
7845 | Drink | <1Week | <1Week | <1Week | <2Weeks |
3265 | Drink | <2Weeks | <5Weeks | <4Weeks | <3Weeks |
<colgroup><col><col><col span="4"></colgroup><tbody>
</tbody>
This is the front sheet
Weekly Stock Coverage | 01/06/2018 | |||
Product Description | No. Product Codes | < Min | In Range | > Max |
Crisps | 3 | 2 | 0 | 1 |
snack | 3 | 1 | 2 | 0 |
Drinks | 3 | 2 | 0 | 1 |
Other | 0 | 0 | 0 | |
<Min <1Week and <2Weeks | ||||
In Range <3Weeks and <4Weeks | ||||
>Max <5Weeks and >5Weeks |
<colgroup><col span="4"><col></colgroup><tbody>
</tbody>
What I am trying to achieve is... On the Front sheet I have different tabs for each week - 01/06, 08/06, 15/06 etc... I am unable to work out the formula that will look up the date and product description to then count how many criteria there is. so in the above for the 01/06 we have a total of 3 crisp products, and with those 3 codes we have 2 which are <min range (<1Week and <2Weeks) and 1 that is max range (<5Weeks and >5Weeks). Is there a a formula that can do this? I have tried Sumproduct index and match but keep getting #value ????
Sorry if this is a little confusing and long winded.
Mike