Perhaps
=SUMPRODUCT((A1:A65535="Op
Main Topics
Browse All TopicsAssume something like the following:
A B C
OpenDate Status ClosedDate
1/1/2006 Closed 1/3/2006
1/1/2006 Open
1/1/2006 Closed 1/4/2006
2/1/2006 Closed 2/14/2006
2/3/2006 Closed 2/5/2006
2/4/2006 Open
I'm trying to summarize by month, like (I have the totals per month):
Jan Feb March April ... ...
Open
Resolved
Total
How can I find the number of items marked as "Open" with a open date of a given month? I'm trying to combine a COUNTIF and an AND(), but I'm not doing something right (this would be for the "Open" count for January) :
=COUNTIF($A:$A, AND("1/*",$B:$B="Open"))
Thanks in advance-
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
=SUMPRODUCT(--(B1:B1000="O
The problem with SP is that it cannot use a whole column, and I would certainly advise against using A1:A65535 as the range. Either use the smallest range that you know will be large enough, or use dynamic range names.
Also, my formula will test for Januay, but any January. If you want a specific yera, add anothe condition
=SUMPRODUCT(--(B1:B1000="O
pillbug22,
All those double negatives shouldn't be necessary - as in:
=SUMPRODUCT(--(B1:B1000="O
instead try:
=SUMPRODUCT((B1:B1000="Ope
should do it!
Of course use as small a range as possible but in truth you won't notice the difference in speed as it will evaluate all the empty rows without you even noticing it!
Patrick
I know that you don't understand how SUMPRODUCT works, but what worries me is that you don't even try to learn.
Firstly, all those -- are not unnecessary. If you prefer the double unary notation as I do, every condition has to be coerced otherwise it will not work. Try it and see.
Secondly, regardless of what you may have seen on EE, that final * 1 doesn't work in the way that you use it, and if you understood how the multiple condition evaluation works you would know that.
Just try it, both
=SUMPRODUCT((B1:B1000="Ope
and
=SUMPRODUCT((B1:B1000="Ope
and see if you can concoct different results with them You won't be able to, so all you are doing is making the formula less efficient by adding an extra operation.
What you are probably getting confused by is the date string, and the need to create a number that SP can work upon. Assuming this is so, you got that wrong, where you used
=SUMPRODUCT((A1:A65535="Op
you should have used
=SUMPRODUCT((A1:A65535="Op
again, using without understanding. It is a horrible format anyway, far better to use
=SUMPRODUCT((A1:A65535="Op
or use a date string in an umabiguous form and my favourite double unary
=SUMPRODUCT((A1:A65535="Op
Business Accounts
Answer for Membership
by: patrickabPosted on 2006-10-02 at 11:41:14ID: 17645699
Use SUMPRODUCT()