
Originally Posted by
dcd123
Thank you. It did work! Can you explain why the ISNUMBER and SEARCH made the difference?
SUMPRODUCT doesn't accept wildcards. ISNUMBER/SEARCH is a way of achieving the same result. Let's assume that E1:I2 contains the following data...
...and that we have the following formula...
SEARCH("Discussed",E1:I1) returns the following array of values...
(ISNUMBER(SEARCH("Discussed",E1:AS1))) returns the following array of values...
(E2:AS2="Yes") returns the following array of values...
SUMPRODUCT then multiplies the two arrays...
...and returns the folloiwng...
...which is summed, and returns 2. Note that numerical equivalent of TRUE and FALSE is 1 and 0, respectively.
Hope this helps!
Bookmarks