Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default sumproduct with wildcard for text?

I have the following formula that it won't work when I try to use a wildcard.
=SumProduct(($B$1:$BJ$5="high")*($F$1:$BN$5="requi rement*"))

The formula works if I use one of the actual categories (ie: requirement)
But I have several "requirement" type such as "requirement is waiting",
"requirment done".

Any help would be greatly appreciated,
Thank you so very muchhh : )

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default sumproduct with wildcard for text?

Hi,

Sumproduct doesn't accept wildcards, try this

=SUMPRODUCT(($B$1:$BJ$5="high")*(LEFT($F$1:$BN$5,1 1)="requirement"))

Mike

"nattie" wrote:

I have the following formula that it won't work when I try to use a wildcard.
=SumProduct(($B$1:$BJ$5="high")*($F$1:$BN$5="requi rement*"))

The formula works if I use one of the actual categories (ie: requirement)
But I have several "requirement" type such as "requirement is waiting",
"requirment done".

Any help would be greatly appreciated,
Thank you so very muchhh : )

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default sumproduct with wildcard for text?

Hi

Assuming "requirement" will always be the first word in the cell, this
should do it:

=SUMPRODUCT(($B$1:$BJ$5="high")*(LEFT($F$1:$BN$5,1 1)="requirement")

Regards,
Per

"nattie" skrev i meddelelsen
...
I have the following formula that it won't work when I try to use a
wildcard.
=SumProduct(($B$1:$BJ$5="high")*($F$1:$BN$5="requi rement*"))

The formula works if I use one of the actual categories (ie: requirement)
But I have several "requirement" type such as "requirement is waiting",
"requirment done".

Any help would be greatly appreciated,
Thank you so very muchhh : )


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default sumproduct with wildcard for text?

try:
=SumProduct(($B$1:$BJ$5="high")*(LEFT($F$1:$BN$5,1 1)="requirement"))
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default sumproduct with wildcard for text?

Allowing requirement anywhere in the string

=SUMPRODUCT(--($B$1:$BJ$5="high"),--(ISNUMBER(SEARCH("requirement",$F$1:$BN$5))))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"nattie" wrote in message
...
I have the following formula that it won't work when I try to use a
wildcard.
=SumProduct(($B$1:$BJ$5="high")*($F$1:$BN$5="requi rement*"))

The formula works if I use one of the actual categories (ie: requirement)
But I have several "requirement" type such as "requirement is waiting",
"requirment done".

Any help would be greatly appreciated,
Thank you so very muchhh : )



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
Wildcard and Sumproduct kd Excel Worksheet Functions 6 April 12th 07 10:56 PM
SUMPRODUCT WITH WILDCARD Mark Excel Discussion (Misc queries) 5 March 12th 06 05:20 PM
wildcard in sumproduct? cjjoo Excel Worksheet Functions 2 October 17th 05 01:08 PM
Sumproduct Wildcard RB Excel Discussion (Misc queries) 6 May 17th 05 04:27 AM
Sumproduct with Wildcard * Jim Excel Worksheet Functions 5 April 5th 05 05:56 PM


All times are GMT +1. The time now is 12:16 AM.

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

About Us

"It's about Microsoft Excel"