Thread: count only if
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Erin Erin is offline
external usenet poster
 
Posts: 75
Default count only if

Shoot.....thank you, but it returned a 0.

I even tried ....

=SUMPRODUCT(--(MASTERLIST!E2:E100="Raytheon"),--(MASTERLIST!F2:F100="d"))

(the criteria is on the Masterlist worksheet) but that didn't work either. I
also tried:

=COUNTIF(MASTERLIST!E2:E100,"*Raytheon")+COUNTIF(M ASTERLIST!F2:F100,"*d")

but that counted all the d's in column f and all the raytheon's in column e

any other ideas?

"Gary Keramidas" wrote:

not quite sure what you ant, nut give this a try

=SUMPRODUCT((E1:E100="Raytheon")*(F1:F100="d"))

--


Gary Keramidas
Excel 2003


"Erin" wrote in message
...
How do I count the number of cells only if E1:E100 contains "ray" and
F1:F100
contains a "d"? I only want the "d's" in column if column E has Raytheon.
Right now it's counting all the "d's" in column f and all the "ray's" in
column e, but I only want column f to count if column e has ray. Hope that
makes sense. Please help.


.