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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,202,984
Messages
6,052,916
Members
444,613
Latest member
questionexcelz

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