ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumproduct - please add extra funtionality (https://www.excelbanter.com/excel-discussion-misc-queries/188932-sumproduct-please-add-extra-funtionality.html)

Hilton

Sumproduct - please add extra funtionality
 
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?




Bernie Deitrick

Sumproduct - please add extra funtionality
 
Hilton,

SUMPRODUCT(($A$1:$A$1000 = FT)*($B$1:$B$1000 = 1)*($C$1:$C$1000 < "RP")*($C$1:$C$1000 <
"Sel")*($C$1:$C$1000 < "SP")*($C$1:$C$1000 < "Com")*($D$1:$D$1000))

HTH,
Bernie
MS Excel MVP


"Hilton" wrote in message ...
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?







All times are GMT +1. The time now is 10:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com