Sumif with AND statements

Cdworks

New Member
Joined
May 26, 2011
Messages
17
Good day!

I am somewhat new to excel i have the basic excel skills and am working on an excel file to produce a production calendar from a quickbooks export.

I am needing to do a sumif statement for a range between two dates.

sum if ( X:Z, Date1>=date2 and <= date3, Sum range)

Could anyone help me with this?

TIA
- CDWorks
 
Last edited:

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
X:Z contain your dates?

If so:
(You didn't specify your sum range, I used AA)

=SUMPRODUCT(--(X1:X1000>=Y1:Y1000),--(Y1:Y1000<=Z1:Z1000),AA1:AA1000)
 
Last edited:
Upvote 0
Good day!

I am somewhat new to excel i have the basic excel skills and am working on an excel file to produce a production calendar from a quickbooks export.

I am needing to do a sumif statement for a range between two dates.

sum if ( X:Z, Date1>=date2 and <= date3, Sum range)

Could anyone help me with this?

TIA
- CDWorks
What version of Excel are you using?
 
Upvote 0
I have a list with dates in one row, the two dates for the range i want info on, and a row for quantities.

I want to say" the sum of quantities between the two dates by reading off of the given dates"

I used the formula you gave me and its returning #NAME, i am going to check some formatting.
 
Upvote 0
excel version 2003
Try this...

Book1
ABCDEF
24/20/20079/21/201353_1/1/20106/1/2011
33/6/20109/12/201035___
45/6/200212/5/2006100_160_
51/27/20102/11/201195___
68/11/200510/27/200757___
712/8/20067/14/200880___
86/1/20038/30/200831___
96/24/20039/21/201495___
102/4/20102/11/201130___
Sheet1

Formula entered in E4:

=SUMPRODUCT(--(A2:A10>=E2),--(B2:B10<=F2),C2:C10)
 
Upvote 0
I have that but i only have one Date (A) not two (A & B). I need to know if this "Due date"(A) falls between this range ( your E & F).

Also is there any way to pull the info for information on the same row as the dates that fall withing the range to create an alternate spread sheet with info just within that relevant range.

Thank you all for the help!
 
Upvote 0
I have that but i only have one Date (A) not two (A & B). I need to know if this "Due date"(A) falls between this range ( your E & F).

Also is there any way to pull the info for information on the same row as the dates that fall withing the range to create an alternate spread sheet with info just within that relevant range.

Thank you all for the help!
OK, I get it! :)

Book1
ABCDE
212/29/201053_1/1/20111/5/2011
312/30/201035___
412/31/2010100_263_
51/1/201195___
61/2/201157___
71/3/201180___
81/4/201131___
91/7/201195___
101/8/201130___
Sheet1

Try one of these formulas:

=SUMIF(A2:A10,">="&D2,B2:B10)-SUMIF(A2:A10,">"&E2,B2:B10)

=SUMPRODUCT(--(A2:A10>=D2),--(A2:A10<=E2),B2:B10)

For your second question...let's get this sum working first then we'll tackle that other problem.
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,225
Members
452,896
Latest member
IGT

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