ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMPRODUCT (https://www.excelbanter.com/excel-worksheet-functions/143272-sumproduct.html)

Iriemon

SUMPRODUCT
 
I am trying to create a formula to count the number of text entries in that
match two criteria. This is as far as I have been able to go. Both fields are
text.

=SUMPRODUCT('Main'!A1:A1884<"")*('Main'!C1:C1884= "STHHH")

Max

SUMPRODUCT
 
Think you were just missing the outer parens:
=SUMPRODUCT((Main!A1:A1884<"")*(Main!C1:C1884="ST HHH"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Iriemon" wrote:
I am trying to create a formula to count the number of text entries in that
match two criteria. This is as far as I have been able to go. Both fields are
text.

=SUMPRODUCT('Main'!A1:A1884<"")*('Main'!C1:C1884= "STHHH")


JE McGimpsey

SUMPRODUCT
 
Try:

=SUMPRODUCT(('Main'!A1:A1884<"")*('Main'!C1:C1884 ="STHHH"))

or the somewhat more efficient

=SUMPRODUCT(--('Main'!A1:A1884<""),--('Main'!C1:C1884="STHHH"))

In article ,
Iriemon wrote:

I am trying to create a formula to count the number of text entries in that
match two criteria. This is as far as I have been able to go. Both fields are
text.

=SUMPRODUCT('Main'!A1:A1884<"")*('Main'!C1:C1884= "STHHH")


Iriemon

SUMPRODUCT
 
DUH! What can I say, it's Friday and the brain is already on the weekend.

Thanks for the quick response.



"Max" wrote:

Think you were just missing the outer parens:
=SUMPRODUCT((Main!A1:A1884<"")*(Main!C1:C1884="ST HHH"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Iriemon" wrote:
I am trying to create a formula to count the number of text entries in that
match two criteria. This is as far as I have been able to go. Both fields are
text.

=SUMPRODUCT('Main'!A1:A1884<"")*('Main'!C1:C1884= "STHHH")


Mike H

SUMPRODUCT
 
An extra pair of parenthesis should do it


=SUMPRODUCT((Main!A1:A1884<"")*(Main!C1:C1884="ST HHH"))

Mike

Mike
"Iriemon" wrote:

I am trying to create a formula to count the number of text entries in that
match two criteria. This is as far as I have been able to go. Both fields are
text.

=SUMPRODUCT('Main'!A1:A1884<"")*('Main'!C1:C1884= "STHHH")



Max

SUMPRODUCT
 
welcome. it happens to me too <g.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Iriemon" wrote in message
...
DUH! What can I say, it's Friday and the brain is already on the weekend.

Thanks for the quick response.





All times are GMT +1. The time now is 02:58 PM.

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