ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumif (https://www.excelbanter.com/excel-worksheet-functions/53791-sumif.html)

rjmat

Sumif
 

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


--
rjmat
------------------------------------------------------------------------
rjmat's Profile: http://www.excelforum.com/member.php...o&userid=17548
View this thread: http://www.excelforum.com/showthread...hreadid=482248


Bob Phillips

Sumif
 
Looks okay. In what way does it not work?

--

HTH

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


"rjmat" wrote in
message ...

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


--
rjmat
------------------------------------------------------------------------
rjmat's Profile:

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




rjmat

Sumif
 

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


--
rjmat
------------------------------------------------------------------------
rjmat's Profile: http://www.excelforum.com/member.php...o&userid=17548
View this thread: http://www.excelforum.com/showthread...hreadid=482248


Peo Sjoblom

Sumif
 
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)


--

Regards,

Peo Sjoblom




"rjmat" wrote in
message ...

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


--
rjmat
------------------------------------------------------------------------
rjmat's Profile:

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





All times are GMT +1. The time now is 09:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com