Using Sumproduct to count text occurence

D

Dave

I'm counting excel records (rows) using the following conditions:

=SUMPRODUCT((Ship05!$A$2:$A$428<>"")*(Ship05!$B$2:$B$428>DATEVALUE("03/31/05"))*(Ship05!$B$2:$B$428<=DATEVALUE("06/30/05"))*(Ship05!$M$2:$M$428="Freight
Damage"))

Instead of "Freight Damage" in column M, I want use a wildcard to count the
records containing other "Freight" text strings.
 
D

Dave

That worked! How would I express the negative of that; i.e., count records
that did not contain "Freight"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top