View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pete Rooney Pete Rooney is offline
external usenet poster
 
Posts: 56
Default SUMPRODUCT with "Contains" criteria

Good afternoon,
Is there any way in which SumProduct can be used with a "contains" criteria
- for instance, A1:100 contains product codes (for example) AZ1A1100,
ABCZ1A1200, 1A1300 and B1:B100 contains total sales for these products. I
want to extract values from column B for (for example) all products that
CONTAIN the string "1A".
I realise that I could use LEFT, RIGHT or MID as long as the "1A" appears in
the same place in the string, but I want something to cater for the times
when it doesn't.
Thanks in advance
Pete