View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_7_] Bob Phillips[_7_] is offline
external usenet poster
 
Posts: 1,120
Default Summation with a Condition

That is probably due to blank cells, which will evaluate to Jan.

Try something like

=SUM((Range 1<"")*(MONTH(Range 1)=MONTH(A1))*(INVOICE for same Range 1))

--
HTH

Bob Phillips

"GeorgeF" wrote in
message ...

I am summing monthly Invoice Amounts from an annual list of occurrences
using an array formula: SUM((MONTH(Range 1)=MONTH(A1)*(INVOICE for same
Range 1)). It works perfectly for every month except January where the
amount is some very large unexplained number. The MONTH (Range 1) is
mmm-dd-yy and the MONTH(A1) is mmm. What is wrong?


--
GeorgeF
------------------------------------------------------------------------
GeorgeF's Profile:

http://www.excelforum.com/member.php...o&userid=24124
View this thread: http://www.excelforum.com/showthread...hreadid=379436