Hi everyone
Hoping someone can help...
I have 2 tables on different sheets like so:
Sheet 1
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[TD]Jun[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Apples
[/TD]
[TD]10% Off[/TD]
[TD]25% Off[/TD]
[TD]20% Off[/TD]
[TD]20% Off[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Oranges[/TD]
[TD]20% Off[/TD]
[TD]25% Off[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Bananas[/TD]
[TD]25% Off[/TD]
[TD]20% Off[/TD]
[TD]10% Off[/TD]
[TD]25% Off[/TD]
[TD]10% Off[/TD]
[TD]25% Off[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[TD]Jun[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[TD]25% Off[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Apples[/TD]
[TD]20[/TD]
[TD]35[/TD]
[TD]42[/TD]
[TD]10[/TD]
[TD]12[/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Oranges[/TD]
[TD]15[/TD]
[TD]35[/TD]
[TD]10[/TD]
[TD]9[/TD]
[TD]56[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Bananas[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]18[/TD]
[TD]4[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In cells H2:J4, I want to sum the values in B:G if the lookup value for that month in table 1 matches the heading in H1:J1
Sheet 2 is a lot longer than Sheet 1 with the names appearing multiple times so I don't think I can just do a basic SUMIF
Thanks in advance for you help
Hoping someone can help...
I have 2 tables on different sheets like so:
Sheet 1
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[TD]Jun[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Apples
[/TD]
[TD]10% Off[/TD]
[TD]25% Off[/TD]
[TD]20% Off[/TD]
[TD]20% Off[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Oranges[/TD]
[TD]20% Off[/TD]
[TD]25% Off[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Bananas[/TD]
[TD]25% Off[/TD]
[TD]20% Off[/TD]
[TD]10% Off[/TD]
[TD]25% Off[/TD]
[TD]10% Off[/TD]
[TD]25% Off[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[TD]Jun[/TD]
[TD]10% Off[/TD]
[TD]20% Off[/TD]
[TD]25% Off[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Apples[/TD]
[TD]20[/TD]
[TD]35[/TD]
[TD]42[/TD]
[TD]10[/TD]
[TD]12[/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Oranges[/TD]
[TD]15[/TD]
[TD]35[/TD]
[TD]10[/TD]
[TD]9[/TD]
[TD]56[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Bananas[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]18[/TD]
[TD]4[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In cells H2:J4, I want to sum the values in B:G if the lookup value for that month in table 1 matches the heading in H1:J1
Sheet 2 is a lot longer than Sheet 1 with the names appearing multiple times so I don't think I can just do a basic SUMIF
Thanks in advance for you help