SUMIFS excluding criteria

Davereau

New Member
Joined
Feb 15, 2016
Messages
30
So I am trying to total a dollar value for what we should be shipping for August. Easy enough, have the formula look the promise date column (L) and sum it up using a date range. The problem is sometimes we ship orders earlier than promised and I also need to look at the ship date. So if the dollar value is in Column H, I want to total the possible amount of dollars shipped in the month of August, but as you can see, some items have already shipped in July.

So far my formula so far looks like this, =SUMIFS(Sheet1!H:H,Sheet1!L:L,">=8/1/18",Sheet1!L:L,"<=8/31/18"). What can i add to also make it look in Column M and to exclude items that shipped prior to 8-1? I have a general idea, but can't seem to make it work.

Thanks in advance.....Dave

LM
PromisedShipped
8/21/2018
8/21/2018
08/14/20188/12/2018
08/14/20188/12/2018
08/14/20187/27/2018
08/17/20187/26/2018
08/17/20188/8/2018
08/17/20188/8/2018
08/17/20188/8/2018
08/17/20188/8/2018

<tbody>
</tbody>
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
One way is to take what you have, and subtract this amount from it:
Code:
=SUMIFS(Sheet1!H:H,Sheet1!L:L,">=8/1/18",Sheet1!L:L,"<=8/31/18",Sheet1!M:M,">0",Sheet1!M:M,"<8/1/2018")
so you end up with:
Code:
[COLOR=#333333]=SUMIFS(Sheet1!H:H,Sheet1!L:L,">=8/1/18",Sheet1!L:L,"<=8/31/18") - [/COLOR]SUMIFS(Sheet1!H:H,Sheet1!L:L,">=8/1/18",Sheet1!L:L,"<=8/31/18",Sheet1!M:M,">0",Sheet1!M:M,"<8/1/2018")
 
Last edited:
Upvote 0
Thank you so much, that seemed to do the trick. I tried something similar earlier, but to no avail. ">0" is what did the trick.

Thanks again.

Dave
 
Upvote 0
You are welcome.

Yes, that ">0" is necessary since you have some records with no shipping dates that you do not want excluded.
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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