horkstar12
New Member
- Joined
- May 16, 2016
- Messages
- 9
Good morning,
Looking for a little bit of help on a sum product I have messing with my head!
What i have is a mass expanse of data, 4380 lines long A-AZ wide, I need my Sumproduct to look over 3 conditions, Type, Wash and then week.
Each cell will show me the total monies for that week, in that product type (jeans) in that colour.
The below is setup in the Data Tab:
- In Column B i have product type, i.e. jeans,
- In K i have Colour i.e. black, blue..etc
- In row 5, column L through to AK are the week numbers i.e. Week 1, Week 2 etc
- The data set is in L6 through to AK4370
The current formula i have setup is:
=SUMPRODUCT(($A$2=Data!$B$6:$B$4370)*(Overview!B$2=Data!$L$5:$AK$5)*(Overview!$A3=Data!$K$6:$K$4370),Data!$L$6:$AK$4370)
Overview is where the table will be setup:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Jeans[/TD]
[TD]Week 1[/TD]
[TD]Week 2[/TD]
[TD]Week 3[/TD]
[/TR]
[TR]
[TD]GREY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BLUE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BLACK[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 285"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Also, as a side note, can you add arrays after the data set or does it need to be before?
Thanks
Looking for a little bit of help on a sum product I have messing with my head!
What i have is a mass expanse of data, 4380 lines long A-AZ wide, I need my Sumproduct to look over 3 conditions, Type, Wash and then week.
Each cell will show me the total monies for that week, in that product type (jeans) in that colour.
The below is setup in the Data Tab:
- In Column B i have product type, i.e. jeans,
- In K i have Colour i.e. black, blue..etc
- In row 5, column L through to AK are the week numbers i.e. Week 1, Week 2 etc
- The data set is in L6 through to AK4370
The current formula i have setup is:
=SUMPRODUCT(($A$2=Data!$B$6:$B$4370)*(Overview!B$2=Data!$L$5:$AK$5)*(Overview!$A3=Data!$K$6:$K$4370),Data!$L$6:$AK$4370)
Overview is where the table will be setup:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Jeans[/TD]
[TD]Week 1[/TD]
[TD]Week 2[/TD]
[TD]Week 3[/TD]
[/TR]
[TR]
[TD]GREY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BLUE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BLACK[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 285"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Also, as a side note, can you add arrays after the data set or does it need to be before?
Thanks