Sum Product Query on mass amount of Data, 3 variables

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
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
[TABLE="width: 1179"]
<colgroup><col span="2"><col><col span="2"><col><col span="12"></colgroup><tbody>[TR]
[TD]product[/TD]
[TD]colour[/TD]
[TD]date[/TD]
[TD]wknum[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]jeans[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]01/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]weeknum>>>[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]03/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]black[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]05/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]blue[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]07/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]09/01/2016[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]11/01/2016[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]13/01/2016[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]15/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]17/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]19/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]21/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]23/01/2016[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]25/01/2016[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 5"]this seems easy so I guess there is more to it…[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]27/01/2016[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]29/01/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]31/01/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]02/02/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]04/02/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]06/02/2016[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]08/02/2016[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]10/02/2016[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]12/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]14/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]16/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]18/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]20/02/2016[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]22/02/2016[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]24/02/2016[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]26/02/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]28/02/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]01/03/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]03/03/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]05/03/2016[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]07/03/2016[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]09/03/2016[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]11/03/2016[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
[TABLE="width: 1179"]
<tbody>[TR]
[TD]product[/TD]
[TD]colour[/TD]
[TD]date[/TD]
[TD]wknum[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]jeans[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]01/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]weeknum>>>[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]03/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]black[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]05/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD]blue[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]07/01/2016[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]09/01/2016[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]11/01/2016[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]13/01/2016[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]15/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]17/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]19/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]21/01/2016[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]23/01/2016[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]25/01/2016[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 5"]this seems easy so I guess there is more to it…[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]27/01/2016[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]29/01/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]31/01/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]02/02/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]04/02/2016[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]06/02/2016[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]08/02/2016[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]10/02/2016[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]12/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]14/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]16/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]18/02/2016[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]20/02/2016[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]22/02/2016[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]24/02/2016[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]26/02/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]black[/TD]
[TD="align: right"]28/02/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]01/03/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]03/03/2016[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]05/03/2016[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]black[/TD]
[TD="align: right"]07/03/2016[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]jeans[/TD]
[TD]blue[/TD]
[TD="align: right"]09/03/2016[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]hats[/TD]
[TD]blue[/TD]
[TD="align: right"]11/03/2016[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Hi,

Thanks for the reply,

My current Sumproduct brings through NA so im unsure what exactly is wrong as i believe i had balanced out the arrays?

sorry im new to Sumproducts so help is appreciated

Thanks
 
Upvote 0
allcols have to be same length eg A1:A100 D1:D100

copy 5 rows and paste on here with the formula you are using
 
Upvote 0
Thanks, this is the table, weeks go upto week 26:

[TABLE="width: 632"]
<colgroup><col><col span="8"></colgroup><tbody>[TR]
[TD]JEANS[/TD]
[TD]WEEK 1 £[/TD]
[TD]WEEK 2 £[/TD]
[TD]WEEK 3 £[/TD]
[TD]WEEK 4 £[/TD]
[TD]WEEK 5 £[/TD]
[TD]WEEK 6 £[/TD]
[TD]WEEK 7 £[/TD]
[TD]WEEK 8 £[/TD]
[/TR]
[TR]
[TD]BLACK[/TD]
[TD="align: center"]#N/A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BLEACH WASH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BLUE WASH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]INDIGO WASH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]GREY WASH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]WHITE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]COLOUR[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PRINT[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

This is the formula:
=SUMPRODUCT((A1='[SS16 DEMAND WEEK26.xls]SS16 Cat Level £'!$B$6:$B$4605)*(A2='[SS16 DEMAND WEEK26.xls]SS16 Cat Level £'!$AS$6:$AS$4605)*(B1='[SS16 DEMAND WEEK26.xls]SS16 Cat Level £'!$K$5:$AJ$5),'[SS16 DEMAND WEEK26.xls]SS16 Cat Level £'!$K$6:$AJ$4605)


This is a copy of the data:

[TABLE="width: 3083"]
<colgroup><col><col><col><col><col><col><col><col><col span="35"></colgroup><tbody>[TR]
[TD]Range[/TD]
[TD]Product Line Code[/TD]
[TD]Product Line Description (Code)[/TD]
[TD]Catalogue Number[/TD]
[TD]Product Description[/TD]
[TD]Product Colour[/TD]
[TD]LINE COL[/TD]
[TD]CONCAT[/TD]
[TD]WEEK 1 £[/TD]
[TD]WEEK 2 £[/TD]
[TD]WEEK 3 £[/TD]
[TD]WEEK 4 £[/TD]
[TD]WEEK 5 £[/TD]
[TD]WEEK 6 £[/TD]
[TD]WEEK 7 £[/TD]
[TD]WEEK 8 £[/TD]
[TD]WEEK 9 £[/TD]
[TD]WEEK 10 £[/TD]
[TD]WEEK 11 £[/TD]
[TD]WEEK 12 £[/TD]
[TD]WEEK 13 £[/TD]
[TD]WEEK 14 £[/TD]
[TD]WEEK 15 £[/TD]
[TD]WEEK 16 £[/TD]
[TD]WEEK 17 £[/TD]
[TD]WEEK 18 £[/TD]
[TD]WEEK 19 £[/TD]
[TD]WEEK 20 £[/TD]
[TD]WEEK 21 £[/TD]
[TD]WEEK 22 £[/TD]
[TD]WEEK 23 £[/TD]
[TD]WEEK 24 £[/TD]
[TD]WEEK 25 £[/TD]
[TD]WEEK 26 £[/TD]
[TD]CUM £[/TD]
[TD]PRODUCT ATT[/TD]
[TD]HOLIDAY[/TD]
[TD]NEW / RI [/TD]
[TD]DEPT[/TD]
[TD]End Use[/TD]
[TD]Shape[/TD]
[TD]Core / Fashion[/TD]
[TD]Wash[/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]AB123L[/TD]
[TD]SKINNY JEANS[/TD]
[TD]AB123[/TD]
[TD]SKINNY JEANS[/TD]
[TD]BLACK[/TD]
[TD]AB123LBLACK[/TD]
[TD]AB123BLACK[/TD]
[TD]2,176[/TD]
[TD]3,488[/TD]
[TD]3,446[/TD]
[TD]3,179[/TD]
[TD]3,136[/TD]
[TD]3,501[/TD]
[TD]2,125[/TD]
[TD]2,456[/TD]
[TD]2,522[/TD]
[TD]1,278[/TD]
[TD]1,931[/TD]
[TD]2,750[/TD]
[TD]2,782[/TD]
[TD]2,398[/TD]
[TD]3,084[/TD]
[TD]3,020[/TD]
[TD]3,115[/TD]
[TD]2,235[/TD]
[TD]2,099[/TD]
[TD]2,006[/TD]
[TD]2,095[/TD]
[TD]3,777[/TD]
[TD]4,853[/TD]
[TD]3,223[/TD]
[TD]2,490[/TD]
[TD]2,509[/TD]
[TD]71,670[/TD]
[TD]0.00[/TD]
[TD]0.00[/TD]
[TD]RI[/TD]
[TD]JEANS[/TD]
[TD]CASUAL[/TD]
[TD]SKINNY[/TD]
[TD]CORE[/TD]
[TD]BLACK[/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]AB123L[/TD]
[TD]SKINNY JEANS[/TD]
[TD]AB123[/TD]
[TD]SKINNY JEANS[/TD]
[TD]BLEACHWASH[/TD]
[TD]AB123LBLEACHWASH[/TD]
[TD]AB123BLEACHWASH[/TD]
[TD]189[/TD]
[TD]195[/TD]
[TD]206[/TD]
[TD]291[/TD]
[TD]294[/TD]
[TD]226[/TD]
[TD]151[/TD]
[TD]295[/TD]
[TD]731[/TD]
[TD]467[/TD]
[TD]635[/TD]
[TD]930[/TD]
[TD]465[/TD]
[TD]681[/TD]
[TD]787[/TD]
[TD]670[/TD]
[TD]741[/TD]
[TD]1,283[/TD]
[TD]614[/TD]
[TD]1,240[/TD]
[TD]1,053[/TD]
[TD]827[/TD]
[TD]1,004[/TD]
[TD]891[/TD]
[TD]851[/TD]
[TD]472[/TD]
[TD]16,185[/TD]
[TD]0.00[/TD]
[TD]0.00[/TD]
[TD]RI[/TD]
[TD]JEANS[/TD]
[TD]CASUAL[/TD]
[TD]SKINNY[/TD]
[TD]CORE[/TD]
[TD]BLEACH WASH[/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]AB123L[/TD]
[TD]SKINNY JEANS[/TD]
[TD]AB123[/TD]
[TD]SKINNY JEANS[/TD]
[TD]BLUE[/TD]
[TD]AB123LBLUE[/TD]
[TD]AB123BLUE[/TD]
[TD]1,256[/TD]
[TD]1,154[/TD]
[TD]1,091[/TD]
[TD]1,623[/TD]
[TD]1,712[/TD]
[TD]2,069[/TD]
[TD]1,872[/TD]
[TD]1,621[/TD]
[TD]1,744[/TD]
[TD]927[/TD]
[TD]1,257[/TD]
[TD]1,212[/TD]
[TD]1,114[/TD]
[TD]1,148[/TD]
[TD]1,389[/TD]
[TD]1,185[/TD]
[TD]1,522[/TD]
[TD]1,496[/TD]
[TD]1,467[/TD]
[TD]1,497[/TD]
[TD]1,361[/TD]
[TD]1,644[/TD]
[TD]1,452[/TD]
[TD]1,344[/TD]
[TD]1,173[/TD]
[TD]1,211[/TD]
[TD]36,540[/TD]
[TD]0.00[/TD]
[TD]0.00[/TD]
[TD]RI[/TD]
[TD]JEANS[/TD]
[TD]CASUAL[/TD]
[TD]SKINNY[/TD]
[TD]CORE[/TD]
[TD]BLUE WASH[/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]AB123L[/TD]
[TD]SKINNY JEANS[/TD]
[TD]AB123[/TD]
[TD]SKINNY JEANS[/TD]
[TD]INDIGO[/TD]
[TD]AB123LINDIGO[/TD]
[TD]AB123INDIGO[/TD]
[TD]1,250[/TD]
[TD]1,907[/TD]
[TD]1,677[/TD]
[TD]1,484[/TD]
[TD]1,644[/TD]
[TD]1,748[/TD]
[TD]2,223[/TD]
[TD]2,355[/TD]
[TD]2,855[/TD]
[TD]802[/TD]
[TD]1,962[/TD]
[TD]2,101[/TD]
[TD]1,647[/TD]
[TD]1,529[/TD]
[TD]2,338[/TD]
[TD]2,010[/TD]
[TD]2,322[/TD]
[TD]2,170[/TD]
[TD]2,039[/TD]
[TD]1,349[/TD]
[TD]1,548[/TD]
[TD]2,170[/TD]
[TD]2,699[/TD]
[TD]1,674[/TD]
[TD]1,595[/TD]
[TD]1,510[/TD]
[TD]48,607[/TD]
[TD]0.00[/TD]
[TD]0.00[/TD]
[TD]RI[/TD]
[TD]JEANS[/TD]
[TD]CASUAL[/TD]
[TD]SKINNY[/TD]
[TD]CORE[/TD]
[TD]INDIGO WASH


[/TD]
[/TR]
</tbody>[/TABLE]
Apologies its so big but i wanted to show you the full data set.

The Sumproduct is looking up RANGE in column B, WASH in column AS and the week numbers in ROW 5 (K:AJ), the data set is then from K6:AJ4605

Really appreciate the help!
 
Upvote 0
=sumproduct((a1=9)*........does not work imho

=sumproduct(a1:a10=9)*(b1:b10)) is the basic format
 
Upvote 0
[TABLE="width: 794"]
<colgroup><col><col><col span="5"><col><col span="2"></colgroup><tbody>[TR]
[TD]Range[/TD]
[TD]Product Colour[/TD]
[TD]WEEK 1 £[/TD]
[TD]WEEK 2 £[/TD]
[TD]WEEK 3 £[/TD]
[TD]WEEK 4 £[/TD]
[TD]WEEK 5 £[/TD]
[TD]week extracted[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]BLACK[/TD]
[TD="align: right"]2,176[/TD]
[TD="align: right"]3,488[/TD]
[TD="align: right"]3,446[/TD]
[TD="align: right"]3,179[/TD]
[TD="align: right"]3,136[/TD]
[TD="align: right"]3446[/TD]
[TD]######[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]BLEACHWASH[/TD]
[TD="align: right"]189[/TD]
[TD="align: right"]195[/TD]
[TD="align: right"]206[/TD]
[TD="align: right"]291[/TD]
[TD="align: right"]294[/TD]
[TD="align: right"]206[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]BLUE[/TD]
[TD="align: right"]1,256[/TD]
[TD="align: right"]1,154[/TD]
[TD="align: right"]1,091[/TD]
[TD="align: right"]1,623[/TD]
[TD="align: right"]1,712[/TD]
[TD="align: right"]1091[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]INDIGO[/TD]
[TD="align: right"]1,250[/TD]
[TD="align: right"]1,907[/TD]
[TD="align: right"]1,677[/TD]
[TD="align: right"]1,484[/TD]
[TD="align: right"]1,644[/TD]
[TD="align: right"]1677[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]slippers[/TD]
[TD]BLACK[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]73[/TD]
[TD="align: right"]59[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]slippers[/TD]
[TD]BLEACHWASH[/TD]
[TD="align: right"]47[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]61[/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]61[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]gloves[/TD]
[TD]BLUE[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]56[/TD]
[TD="align: right"]63[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]63[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]gloves[/TD]
[TD]INDIGO[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]79[/TD]
[TD="align: right"]65[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]BLACK[/TD]
[TD="align: right"]2,176[/TD]
[TD="align: right"]3,488[/TD]
[TD="align: right"]3,446[/TD]
[TD="align: right"]3,179[/TD]
[TD="align: right"]3,136[/TD]
[TD="align: right"]3446[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JEANS[/TD]
[TD]BLEACHWASH[/TD]
[TD="align: right"]189[/TD]
[TD="align: right"]195[/TD]
[TD="align: right"]206[/TD]
[TD="align: right"]291[/TD]
[TD="align: right"]294[/TD]
[TD="align: right"]206[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]col C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]JEANS[/TD]
[TD][/TD]
[TD]row 17[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]BLUE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]C19 > > > > > >[/TD]
[TD="colspan: 2"]WEEK 3 £[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1091[/TD]
[TD]^^^^^^^^^[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]#########[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 5"]=OFFSET($A$1,ROW()-1,MATCH($C$19,$C$1:$G$1,0)+1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]^^^^^^^^^[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 6"]=SUMPRODUCT(($A$2:$A$11=$C$17)*($B$2:$B$11=$C$18)*($H$2:$H$11))[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 7"]if you wanted week 4 total change C19 to week 4 £ and col H would extract week 4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top