Thread: Sumproduct
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Sumproduct

=SUMPRODUCT((A1:A100="FT")*(B1:B100=1)*(ISNA(MATCH (C1:C100,{"RP","Sel","SP","Com"},0)))*D1:D100)



"Hilton" wrote:

Hi,

I need to use the sumproduct function but I would like to exclude 4
particular items which occur in a certain field

eg
SUMPRODUCT(($A$1:$A$1000 = FT)*($B$1:$B$1000 = 1)*($D$1:$D$1000))
works fine,

but now I need to exclude column C items which = RP, Sel, SP & Com

How do I do this?