Wildcard Character in an Array Formula

S

Scorpvin

Does anybody know how to write an array formula that includes a wildcar
character such as ? or *

I'm using a simple SUM(IF) array.

=SUM(IF((C6:C25="*Wiscons*"),E6:E25,0))
Ctrl+Shift+Ente
 
V

vezerid

Scorpvin,
try the following:
=SUM(IF(ISNUMBER(FIND("Wiscons", C6:C25)), E6:E25, 0))
as array formula of course.

HTH
Kostis Vezerides
 
D

Domenic

Here's another way...

=SUMIF(C6:C25,"*Wiscons*",E6:E25)

or

=SUMIF(C6:C25,"*"&G1&"*"),E6:E25)

....where G1 contains your criterion, such as Wiscons.

Hope this helps!
 
Top