add another parameter.

Signature
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com
ok i'm trying to use this formula: =SUMPRODUCT(--(MONTH(Revenue!$V$9:$V
$3800)=MONTH($N$9)),
--(YEAR(Revenue!$V$9:$V$3800)=YEAR($N$9)),--(Revenue!$D$9:$D
$3800=B26),--(Revenue!$AD$9:$AD$3800))
BUT i'm getting a #VALUE error msg. any ideas? thx!!
> add another parameter.
>
[quoted text clipped - 34 lines]
>
> >> > Kyle
Don Guillett - 19 Mar 2008 22:14 GMT
Bob Phillips - 19 Mar 2008 22:14 GMT
That suggests that some of the data is bad, maybe text in one of the date
fields or a cell with a formula erroring.

Signature
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
> ok i'm trying to use this formula: =SUMPRODUCT(--(MONTH(Revenue!$V$9:$V
> $3800)=MONTH($N$9)),
[quoted text clipped - 47 lines]
>>
>> >> > Kyle
Dave Peterson - 19 Mar 2008 22:20 GMT
I didn't see where you kept the xyz stuff:
=sumproduct(--(revenue!$a$9:$a$3800="xyz"),
--(text(revenue!$v$9:$v$3800,"yyyymm")=text($n$9,"yyyymm")),
revenue!$ad$9:$ad$3800)
The --(revenue!$ad$9:$ad$3800) portion will cause an error if there are
non-numeric entries in that range.
Adjust the ranges to match--but you can't use whole columns (except in xl2007).
=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.
Bob Phillips explains =sumproduct() in much more detail here:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html
> ok i'm trying to use this formula: =SUMPRODUCT(--(MONTH(Revenue!$V$9:$V
> $3800)=MONTH($N$9)),
[quoted text clipped - 41 lines]
> >
> > >> > Kyle

Signature
Dave Peterson