Sumif Multiple Columns with Multiple Criteria

chicubs

New Member
Joined
Aug 10, 2016
Messages
8
I'm trying to replicate the table below. How can I sum the total orders for each week with duplicate date values as column headers? The data is dynamic and the column dates will change, so I was wondering if it's possible to sumif the table array using date and week as criteria?

Table:
WeekOrders
4/20/1712
4/27/1718
5/4/1712

<tbody>
</tbody>

Data:
ItemMetric4/20/174/20/174/27/174/27/175/4/175/4/17
ASales123456
AOrders222222
BSales123456
BOrders222222
CSales123456
COrders223322

<tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
A
B
C
D
E
F
G
H
1
table:
2
WeekOrders
3
4/20/2017​
12​
4
4/27/2017​
14​
5
5/4/2017​
12​
6
7
Data:
8
ItemMetric
4/20/2017​
4/20/2017​
4/27/2017​
4/27/2017​
5/4/2017​
5/4/2017​
9
ASales
1​
2​
3​
4​
5​
6​
10
AOrders
2​
2​
2​
2​
2​
2​
11
BSales
1​
2​
3​
4​
5​
6​
12
BOrders
2​
2​
2​
2​
2​
2​
13
CSales
1​
2​
3​
4​
5​
6​
14
COrders
2​
2​
3​
3​
2​
2​

<tbody>
</tbody>


b3=SUMPRODUCT(($B$9:$B$14=$B$2)*($C$8:$H$8=$A3)*($C$9:$H$14)) copy dow
 
Upvote 0

Forum statistics

Threads
1,216,058
Messages
6,128,538
Members
449,456
Latest member
SammMcCandless

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