sumproduct with wildcard for text?

  • Thread starter Thread starter nattie
  • Start date Start date
N

nattie

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

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 : )
 
Hi,

Sumproduct doesn't accept wildcards, try this

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

Mike
 
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,11)="requirement")

Regards,
Per
 
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)
 

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