Link to home
Start Free TrialLog in
Avatar of Matt Miller
Matt MillerFlag for United States of America

asked on

SUMIFS Involving Multiple Columns

Hello, I am trying to set up a sumif involving multiple columns for the sum and multiple checks but I keep on getting a #Value!.

Here's the formula I'm using.
=SUMIFS('Sheet2 Comp'!D:F,'Sheet2 Comp'!A:A,A:A,'Sheet2 Comp'!C:C,C:C)

Thank you for your help.
ASKER CERTIFIED SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Matt Miller

ASKER

I figured it out.  I ended up using a sum array function.  

=SUM(('Sheet2 Comp'!$A$2:$A$121=$A3)*('Sheet2 Comp'!$C$2:$C$121=$C3)*('Sheet2 Comp'!$D1:$AP1>=D$1)*('Sheet2 Comp'!$D1:$AP1<=D$1)*'Sheet2 Comp'!D2:AP121)

Not pretty but it's almost there.
Avatar of Professor J
Professor J

you could have easily get this done by SUMIFS.   currently you are using SUM with array which is much slower in calculation and requires control shift enter
How could I get it done in sumifs?