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

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.
--
Best Regards,

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


" wrote:

This works =Sumif($A3$:$A$43,"*Helm*",$F$3:$F$43)

Now I want to do that if TWO conditions are met, I typically use an
Array and Sumproduct, but can't get it to work. Thoughts?

It would the equivalent of doing this: =SUMPRODUCT(($F$3:$F$43)*($A
$3:$A$43="*Helm*")*($B$3:$B$43="*Port*")). But that doesn't work...