Sumproduct - please add extra funtionality

H

Hilton

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?
 
B

Bernie Deitrick

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top