Trying out SUMIFS - It Half Works

PipBoy808

Board Regular
Joined
Oct 30, 2013
Messages
107
Hello,

I'm trying my hand at a SUMIFS formula with multiple criteria. I'm only looking to sum values in my sumrange that relate to a particular product. Sadly, my formula is returning 0 when it shouldn't.

Where $H$2 is my start date, $I$2 is my end date and my product name is in B11:

=SUMIFS(SUMRANGE,CRITERIARANGE1,"*"&B11&"*",Table[TableColumn2],And(>$H$2,<$I$2))

or maybe

=SUMIFS(SUMRANGE,CRITERIARANGE1,"*"&B11&"*",Table[TableColumn2],>$H$2,Table[TableColumn2],<$I$2)


The green portion of the formula returns a value when I rearrange it in a separate SUMIF formula. I can also do "=H2-I2", so my start and end dates are formatted correctly. TableColumn2 is also solely full of date values.

Can anyone tell me if I've formatted the red portion formula incorrectly? I'm not sure how to handle 2 different criteria within the same column, nor how to get the syntax of 'greater than' and 'less than' correct so as to imply a specified date range.

Thank you.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,223,309
Messages
6,171,336
Members
452,396
Latest member
ajl_ahmed

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