Wildcard in SumProduct

  • Thread starter Thread starter Judy L
  • Start date Start date
J

Judy L

In my spreadsheet I have the following formula to sum values but it won't
work when I try to use a wildcard.
=SumProduct(($B$49:$BJ$55="FA-*)*IsNumber($F$49:$BN$55),$F$49:$BN$55)

The formula works if I use one of the actual categories (ie: FA-1)
But I have several FA-1 through FA-10 and FA-PH.

Any help would be greatly appreciated,

Thank you
 
If it always begins with FA-, try it this way:

=SumProduct((LEFT($B$49:$BJ$55,3)="FA-")*IsNumber($F$49:$BN$55),$F
$49:$BN$55)

Hope this helps.

Pete
 
Thank you, thank you, it works perfect!

Judy

Pete_UK said:
If it always begins with FA-, try it this way:

=SumProduct((LEFT($B$49:$BJ$55,3)="FA-")*IsNumber($F$49:$BN$55),$F
$49:$BN$55)

Hope this helps.

Pete
 
Back
Top