Thread: Double count
View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Tyro[_2_] Tyro[_2_] is offline
external usenet poster
 
Posts: 1,091
Default Double count

You may have spaces after the letters in C2:C12. "w " is not equal to "w".

Tyro

"Byron720" wrote in message
...
I have the following data:

w 1
w 1
w 2
w 1
w 1
c 3
w 2
c 1
c 1
w 3
c 1

I need a formula that calculates how many of the w's have numbers greater
than 1. I was trying this formula: sumproduct(--(C2:C12="W"),--(D2:D121))
but it doesn't work.