maybe
=sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
>I am trying to sum a column ("S") based on fulfilling 2 criteria in 2
> other columns (C = A1 AND O = 1, 2, 3...12). I want to do this in a
[quoted text clipped - 3 lines]
>
> Suggestions?
paul - 07 Nov 2006 18:07 GMT
Thanks... I tried sumproduct and received the #num error or wacko
results with SUM(IF(...
=SUMPRODUCT((JDE=A24)*(Month=4)*USD)
JDE = Column C
Month = Column O
USD = summing all $$$
Month = discreet value to be changed by cell.
> maybe
> =sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)
[quoted text clipped - 10 lines]
> >
> > Suggestions?
Bob Phillips - 07 Nov 2006 18:35 GMT
Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> Thanks... I tried sumproduct and received the #num error or wacko
> results with SUM(IF(...
[quoted text clipped - 20 lines]
> > >
> > > Suggestions?
paul - 07 Nov 2006 18:28 GMT
Thanks!!!!!!!!!!!!!!
I guess it did not like my "NAMED" ranges... It worked when I used the
actual cell references.
=SUMPRODUCT(('Raw Data'!$C$2:$C$6270=$A2)*('Raw
Data'!$O$2:$O$6270=1)*'Raw Data'!$S$2:$S$6270)
> maybe
> =sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)
[quoted text clipped - 10 lines]
> >
> > Suggestions?
paul - 07 Nov 2006 18:29 GMT
Thanks!!!!!!!!!!!!!!
I guess it did not like my "NAMED" ranges... It worked when I used the
actual cell references.
=SUMPRODUCT(('Raw Data'!$C$2:$C$6270=$A2)*('Raw
Data'!$O$2:$O$6270=1)*'Raw Data'!$S$2:$S$6270)
> maybe
> =sumproduct((c2:c22=a1)*(o2:o22>0)*(o2:o22<=12)*s2:s22)
[quoted text clipped - 10 lines]
> >
> > Suggestions?