[TABLE="width: 622"]
<tbody>[TR]
[TD="class: xl64, width: 128, bgcolor: white"]
Customer[/TD]
[TD="class: xl64, width: 143, bgcolor: white"]
Week Number[/TD]
[TD="class: xl64, width: 64, bgcolor: white"]
Job ID[/TD]
[TD="class: xl64, width: 114, bgcolor: white"]
Concat[/TD]
[TD="class: xl66, width: 38, bgcolor: transparent"][/TD]
[TD="class: xl64, width: 150, bgcolor: white"]
Week Number:[/TD]
[TD="class: xl64, width: 64, bgcolor: white"]
1[/TD]
[TD="class: xl64, width: 64, bgcolor: white"]
2[/TD]
[TD="class: xl64, width: 64, bgcolor: white"]
3[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer A[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer A|1[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl64, width: 150, bgcolor: white"]
Customer A[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
1[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer A[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
2[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer A|2[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl64, width: 150, bgcolor: white"]
Customer B[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
3[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
0[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer A[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
2[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer A|2[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl64, width: 150, bgcolor: white"]
Customer C[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
0[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
2[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
1[/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer A[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
3[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer A|3[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer A[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
3[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer A|3[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer B[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer B|1[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer B[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer B|1[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer B[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Y[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer B|1[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer B[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Y[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer B|1[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer B[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
1[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
X[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer B|1[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer B[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
2[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer B|2[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer C[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
2[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer C|2[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer C[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
2[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
Z[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer C|2[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer C[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
2[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
X[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer C|2[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, width: 128, bgcolor: white"]
Customer C[/TD]
[TD="class: xl65, width: 143, bgcolor: white"]
3[/TD]
[TD="class: xl65, width: 64, bgcolor: white"]
X[/TD]
[TD="class: xl66, bgcolor: transparent"]
Customer C|3[/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[TD="class: xl66, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
Given the amount of the data you have, we will trade off some memory against speed...
D2, just enter and copy down:
G2, control+shift+enter, not just enter, copy across, and down:
Rich (BB code):
=SUM(IF(FREQUENCY(IF($D$2:$D$16=$F2&"|"&G$1,MATCH($C$2:$C$16,$C$2:$C$16,0)),
ROW($C$2:$C$16)-ROW($C$2)+1),1))