find text string to use in a sumproduct
Try
=SUMPRODUCT((A1:A20="m")*(ISNUMBER(SEARCH("test",F 1:F20))))
--
Jacob (MVP - Excel)
"MarkN" wrote:
Hello,
I would like to create a sumproduct function that checks whether column a
contains the letter "M" and then if column f contains the text string "test"
to return the sum. The problem is column f contains such things as "TEST",
"test(A)", "test-20/1/10" and "testing". I want to count all of these.
--
Thanks in advance for any suggestions,
MarkN
|