View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SFC Traver SFC Traver is offline
external usenet poster
 
Posts: 14
Default Using a wild card in SUMPRODUCT

I'm using the following formula:

=SUMPRODUCT(--(D6:D1000="*/2-2 IN"),--(E6:E1000'="NBI"))

which returns a value of "0". The "*" could be an A, B, C, D, HHC, or E.

If I replace the * with one of the letters, I get a correct value. How can I
use the wildcard returning a correct value for all the true conditions of
A/2-2, B/2-2, C/2-2, D/2-2, E/2-2, and HHC/2-2?

Thanks!