Sumproduct with "contains" variable

  • Thread starter Thread starter Lee
  • Start date Start date
L

Lee

When you filter a column in Excel 2007, there is an option of "contains" to
choose. Is it possible to use "contains" in a sumproduct() formulae as one
of the arrays or do I have to list the possibilities in each of the
variables? Surely there must be a way to use wildcard characters of ? or *
or something to pass this on in the formulae.
If so, how?
Thanks,
 
=sumproduct(--(isnumber(search("sometext",a1:a10))),
--(b1:b10="somethingelse"),
(c1:c10))
 
Back
Top