Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
briank
 
Posts: n/a
Default SumProduct w/WildCard

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*"))
  #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*"))

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sloth
 
Posts: n/a
Default SumProduct w/WildCard

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.

"briank" wrote:

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*"))

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
briank
 
Posts: n/a
Default SumProduct w/WildCard

Thanks Don. That works gr8.

"Don Guillett" wrote:

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*"))


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 10:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"