wildcard in sumproduct?

C

cjjoo

hi guys,

i got a formula that ggoes like this =
sumproduct(--(A1:A100="Apple"),--(B1:B100=Bear), --(problem_in here),
D1:D100)


In the problem_in_here criteria, it is a column with alot of
description . But the

key criteria i need is the key word "happy" with maybe at any part of
a

sentence.

something like the use of a wildcard in countif ().

IS that possibe? pls advise....
 
A

Aladin Akyurek

--ISNUMBER(SEARCH(SubString,Range))
hi guys,

i got a formula that ggoes like this =
sumproduct(--(A1:A100="Apple"),--(B1:B100=Bear), --(problem_in here),
D1:D100)


In the problem_in_here criteria, it is a column with alot of
description . But the

key criteria i need is the key word "happy" with maybe at any part of
a

sentence.

something like the use of a wildcard in countif ().

IS that possibe? pls advise....

--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
 
B

Bob Phillips

=sumproduct(--(A1:A100="Apple"),--(B1:B100=Bear), --(ISNUMBER(FIND("happy",C
1:C100))),D1:D100)

if it is case sensitive

=sumproduct(--(A1:A100="Apple"),--(B1:B100=Bear), --(ISNUMBER(SEARCH("happy"
,C1:C100))),D1:D100)

if not

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Top