View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Sumproduct Wildcards

In this instance, none really. I was just copying OP's text. However, if you
wanted to check if a cell contained two or more words, it is nice to know you
can use wildcards.

E.g.
=SEARCH("bob*tom",A1)
would check look for the word bob followed sometime by the word tom. (also
supports the '?' character for single character wildcard.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Glenn" wrote:

Luke M wrote:
You could try using this function, since the SEARCH function supports
wildcards.

=SUMPRODUCT(($F$3:$F$43)*(ISNUMBER(SEARCH("*Helm*" ,$A$3:$A$43)))*ISNUMBER(SEARCH("*Port*",$B$3:$B$43 )))

Note that SEARCH is non-case sensitive. If you want it to be, replace the
SEARCH's with FIND's.



What is the difference between

=ISNUMBER(SEARCH("Helm",$A$3:$A$43))

and

=ISNUMBER(SEARCH("*Helm*",$A$3:$A$43))