View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default COUNTIF function bug?

=SUMPRODUCT(--(LEFT(H2:H1062;2)="17*"))

Don't use the wildcard!

=SUMPRODUCT(--(LEFT(H2:H1062;2)="17"))

Biff

"raigo" wrote in message
...
Thank you all for your replies, unfortunately i still cant get it to work
:(
It gives me a zero on all of these 3 options. For example:
=SUMPRODUCT(--(LEFT(H2:H1062;2)="17*")) gives a zero. I had to replace ","
with ";" as the formula was incorrect if there was ","
Any more ideas?

Thank You