Sumif

R

rjmat

Hello,
I need to create a formula that produces a total based on two
criterias.

Here is what I did and it did not work. Why?

=SUM(('[AI 50 Download 0405.xls]AI-50 0405 work
copy'!$E$6:$E$1067="SECY")*('[AI 50 Download 0405.xls]AI-50 0405 work
copy'!$A$6:$A$1067="211")*'[AI 50 Download 0405.xls]AI-50 0405 work
copy'!$M$6:$M$1067)

Please help
 
B

Bob Phillips

Looks okay. In what way does it not work?

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
R

rjmat

I am not sure why it does not work. For one thing, it links to another
spreadsheet, assuming that is allowed. What about the values that I
have asked for, the SECY and 211? Is it critical on the format or
something?

How about an alternative? Two SUMIF's back to back?

Rich
 
P

Peo Sjoblom

Try

=SUMPRODUCT(--('[AI 50 Download 0405.xls]AI-50 0405 work
copy'!$E$6:$E$1067="SECY"),--('[AI 50 Download 0405.xls]AI-50 0405 work
copy'!$A$6:$A$1067=211),'[AI 50 Download 0405.xls]AI-50 0405 work
copy'!$M$6:$M$1067)
 
Top