Sumproduct Help

  • Thread starter Thread starter MESTRELLA29
  • Start date Start date
M

MESTRELLA29

=SUMPRODUCT(--('Consolidated Exp'!$E$2:$E$5000=C$9),--('Consolidated
Exp'!$K$2:$K$5000=("I")),'Consolidated Exp'!$F$2:$F$5000)

coulum E = Month,
coulum K = Type of expense
Indirect Wages I
Indirect Benefits J
Indirect Overtime L
Building Rent M

And So, I want sumproduct to do is :--('Consolidated
Exp'!$K$2:$K$5000=("I","J","L") Is this posible, if so what do I need to
Change in the Formula.

Thanks
 
Hi

Try

=SUMPRODUCT(--('Consolidated Exp'!$E$2:$E$5000=C$9),--
ISNUMBER(MATCH('Consolidated
Exp'!$K$2:$K$5000,{"I","J","L"},0)),'Consolidated Exp'!$F$2:$F$5000)

Richard
 
=SUMPRODUCT(--('Consolidated
Exp'!$E$2:$E$5000=C$9),--(ISNUMBER(MATCH('Consolidated
Exp'!$K$2:$K$5000,{"I","J","L"},0))),'Consolidated Exp'!$F$2:$F$5000)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Back
Top