View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
 
Posts: n/a
Default SumProduct w/WildCard

try
=SUMPRODUCT(--(ApplStaff!$A$2:$A$482=$B$5),--(ApplStaff!$B$2:$B$482="Jone*"))

=SUMPRODUCT(--(ApplStaff!$A$2:$A$482=$B$5),--(left(ApplStaff!$B$2:$B$482,4)="Jone"))--Don GuillettSalesAid "briank" wrote in ...I am trying to create a sumproduct command that allows for a wildcard inone of the criteria. In the example below I want the term Jone, Jones,Joneston, etc... to all fit the bill. Is there a way to incorporate a wildcard into this command?=SUMPRODUCT(--(ApplStaff!$A$2:$A$482=$B$5),--(ApplStaff!$B$2:$B$482="Jone*"))