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)

LVL 1
Who is Participating?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
The SUMIFS criteria1, criteria2, etc, accepts only a single value, not multiple cells.

Can you post a workbook explaining what it is you are trying to do?

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
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.
Microsoft Excel ExpertCommented:
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
Author Commented:
How could I get it done in sumifs?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.