SUMIF/SUMIFS Amounts in Date Range

buggaboo76

Board Regular
Joined
Apr 10, 2009
Messages
54
Hello! I'm struggling with needing a formula that allows me to:

1) Look at the date range in column B,
2) verify for this cell which would be named July above it, that it looks in B1:B1000 for any date in July,
2) verify in column F that "INT" is within the text
3) if so, total the values in column H that match those conditions.

The total for those conditions would be $1359.90.

Ideally I would want to repeat this for the other months of the year as well. So, in essence, summing all expenses for July that are "Int" in column F. Any help would be really appreciated. I hope I was not confusing with this.

Column B
6/17/2019ORD7411231800106PD Int Labor ActD193.68
6/18/2019ORD7411231800106PD Int Labor ActD290.52
7/8/2019ORD7411231800106PD Int Labor ActD28.26
7/9/2019ORD7411231800106PD Int Labor ActD141.30
7/10/2019ORD7411231800106PD Int Labor ActD28.26
7/9/2019ORD7411231800106PD Int Labor ActD96.84
7/10/2019ORD7411231800106PD Int Labor ActD193.68
7/11/2019ORD7411231800106PD Int Labor ActD96.84
7/22/2019ORD7411231800106
Temporary Labor-Norm

<tbody>
</tbody>
D182.89
7/1/2019ORD7411231800106PD Int Labor ActD290.52
7/3/2019ORD7411231800106PD Int Labor ActD290.52
7/15/2019ORD7411231800106PD Int Labor ActD193.68

<tbody>
</tbody>
 
Last edited:
Ok, try
=SUMPRODUCT((MONTH($B$2:$B$335)=7)*(ISNUMBER(SEARCH("int",$F$2:$F$335))),$H$2:$H$335)

Just change the value in red for the month that you want.
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
One question I thought of...what happens if it goes into the next year? Will it, for example take January 2019, and January 2020 and combine them, since it is a "1"?
 
Upvote 0
Yes it will.
To prevent that use
=SUMPRODUCT((YEAR($B$2:$B$335)=2019)*(MONTH($B$2:$B$335)=7)*(ISNUMBER(SEARCH("int",$F$2:$F$335))),$H$2:$H$335)
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,416
Messages
6,124,772
Members
449,187
Latest member
hermansoa

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