This is a Qn pertaining to
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]
<colgroup><col style="width:48pt" width="64" span="8"> </colgroup><tbody>
[TD="class: xl65, width: 64"] [/TD]
[TD="class: xl67, width: 64"] A [/TD]
[TD="class: xl67, width: 64"] B [/TD]
[TD="class: xl67, width: 64"] C
[/TD]
[TD="class: xl67, width: 64"] D [/TD]
[TD="class: xl67, width: 64"] E [/TD]
[TD="class: xl67, width: 64"] F [/TD]
[TD="class: xl67, width: 64"] G [/TD]
[TD="class: xl67, width: 64"] 1
[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl69, width: 64"]2001
[/TD]
[TD="class: xl69, width: 64"]2001
[/TD]
[TD="class: xl69, width: 64"]2002[/TD]
[TD="class: xl69, width: 64"]2002[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl69, width: 64"]2002CY-Q1
[/TD]
[TD="class: xl67, width: 64"] 2 [/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl66, width: 64"]Sales[/TD]
[TD="class: xl66, width: 64"]Profit[/TD]
[TD="class: xl66, width: 64"]Sales[/TD]
[TD="class: xl66, width: 64"]Profit[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl66, width: 64"]Sales[/TD]
[TD="class: xl67, width: 64"] 3 [/TD]
[TD="class: xl66, width: 64"]James[/TD]
[TD="class: xl68, width: 64"]1000[/TD]
[TD="class: xl68, width: 64"]690[/TD]
[TD="class: xl68, width: 64"]8559[/TD]
[TD="class: xl68, width: 64"]1895[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl68, width: 64"][/TD]
[TD="class: xl67, width: 64"] 4 [/TD]
[TD="class: xl66, width: 64"]Peter[/TD]
[TD="class: xl68, width: 64"]2000[/TD]
[TD="class: xl68, width: 64"]756[/TD]
[TD="class: xl68, width: 64"]4560[/TD]
[TD="class: xl68, width: 64"]1596
[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl67, width: 64"] 5 [/TD]
[TD="class: xl66, width: 64"]Tom[/TD]
[TD="class: xl68, width: 64"]3000[/TD]
[TD="class: xl68, width: 64"]56[/TD]
[TD="class: xl68, width: 64"]1520[/TD]
[TD="class: xl68, width: 64"]3698[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl67, width: 64"] 6 [/TD]
[TD="class: xl66, width: 64"]Edwin[/TD]
[TD="class: xl68, width: 64"]4000[/TD]
[TD="class: xl68, width: 64"]56[/TD]
[TD="class: xl68, width: 64"]1563[/TD]
[TD="class: xl68, width: 64"]4563[/TD]
[TD="class: xl65, width: 64"][/TD]
</tbody>[/TD]
[/TR]
</tbody>[/TABLE]
G3=SUMPRODUCT(($B$1:$E$1=mid(G1,3,4))*($B$2:$E$2=G2)*($B$3:$E$6))
Why doesn't this formula work?
Thank you
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]
<colgroup><col style="width:48pt" width="64" span="8"> </colgroup><tbody>
[TD="class: xl65, width: 64"] [/TD]
[TD="class: xl67, width: 64"] A [/TD]
[TD="class: xl67, width: 64"] B [/TD]
[TD="class: xl67, width: 64"] C
[/TD]
[TD="class: xl67, width: 64"] D [/TD]
[TD="class: xl67, width: 64"] E [/TD]
[TD="class: xl67, width: 64"] F [/TD]
[TD="class: xl67, width: 64"] G [/TD]
[TD="class: xl67, width: 64"] 1
[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl69, width: 64"]2001
[/TD]
[TD="class: xl69, width: 64"]2001
[/TD]
[TD="class: xl69, width: 64"]2002[/TD]
[TD="class: xl69, width: 64"]2002[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl69, width: 64"]2002CY-Q1
[/TD]
[TD="class: xl67, width: 64"] 2 [/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl66, width: 64"]Sales[/TD]
[TD="class: xl66, width: 64"]Profit[/TD]
[TD="class: xl66, width: 64"]Sales[/TD]
[TD="class: xl66, width: 64"]Profit[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl66, width: 64"]Sales[/TD]
[TD="class: xl67, width: 64"] 3 [/TD]
[TD="class: xl66, width: 64"]James[/TD]
[TD="class: xl68, width: 64"]1000[/TD]
[TD="class: xl68, width: 64"]690[/TD]
[TD="class: xl68, width: 64"]8559[/TD]
[TD="class: xl68, width: 64"]1895[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl68, width: 64"][/TD]
[TD="class: xl67, width: 64"] 4 [/TD]
[TD="class: xl66, width: 64"]Peter[/TD]
[TD="class: xl68, width: 64"]2000[/TD]
[TD="class: xl68, width: 64"]756[/TD]
[TD="class: xl68, width: 64"]4560[/TD]
[TD="class: xl68, width: 64"]1596
[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl67, width: 64"] 5 [/TD]
[TD="class: xl66, width: 64"]Tom[/TD]
[TD="class: xl68, width: 64"]3000[/TD]
[TD="class: xl68, width: 64"]56[/TD]
[TD="class: xl68, width: 64"]1520[/TD]
[TD="class: xl68, width: 64"]3698[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl67, width: 64"] 6 [/TD]
[TD="class: xl66, width: 64"]Edwin[/TD]
[TD="class: xl68, width: 64"]4000[/TD]
[TD="class: xl68, width: 64"]56[/TD]
[TD="class: xl68, width: 64"]1563[/TD]
[TD="class: xl68, width: 64"]4563[/TD]
[TD="class: xl65, width: 64"][/TD]
</tbody>
[/TR]
</tbody>[/TABLE]
G3=SUMPRODUCT(($B$1:$E$1=mid(G1,3,4))*($B$2:$E$2=G2)*($B$3:$E$6))
Why doesn't this formula work?
Thank you