Sum Product/ Sum Ifs I Don't Know - Multiple Criteria Summation

DHAMMOND

New Member
Joined
May 1, 2018
Messages
5
Hello,

I need help summing a range based on criteria. I've tried sumifs and sumproducts, but I can't get it right. The goal is to sum a range based on: Retailer, Brand, and the time period between two dates. The formula will go into cell B10 and reference a table on a different worksheet.

Could someone please help me out with a correct formula?


Sheet 1 (Summary Sheet)
gePH67
1ABCDEFGH
2Criteria
3Retailerfrank
4sales start7/31/2017
5sales end8/14/2017
6
7
8sales summary base on criteria
9BrandSales
10Red?
11Green
12Blue

<tbody>
</tbody>


Sheet 2 (data sheet) - sales data in a3:d9
gePH67
1ABCD
2
7/31/2017

<tbody>
</tbody>
8/7/2017

<tbody>
</tbody>
8/14/2017

<tbody>
</tbody>
8/21/2017

<tbody>
</tbody>
3
red

<tbody>
</tbody>
Frank

<tbody>
</tbody>
4red
Jill

<tbody>
</tbody>
5blue
Tom

<tbody>
</tbody>
6
green
Jill

<tbody>
</tbody>
7blue
Tom

<tbody>
</tbody>
8green
Frank

<tbody>
</tbody>
9red
Tom

<tbody>
</tbody>
10
11
12

<tbody>
</tbody>

7/31/2017

<tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
The column labels seem to wrong on sheet2? Column A is above red?


Formula in cell B10:


=SUMPRODUCT((A10=Sheet2!A3:A9)*(B3=Sheet2!B3:B9)*(Sheet2!C2:F2<=B5)*(Sheet2!C2:F2>=B4)*Sheet2!C3:F9)
 
Upvote 0

Forum statistics

Threads
1,216,033
Messages
6,128,427
Members
449,450
Latest member
gunars

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