SumProduct w/WildCard

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to create a sumproduct command that allows for a wildcard in one
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*"))
 
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 (e-mail address removed)"briank" <[email protected]> wrote in messageam 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*"))
 
You can use the FIND function...

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

I don't think you can use a wildcard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top