SUMIFS formula add an additional condition

I have a sumifs Excel formula on the attached workbook in tab "2015 TrialBalance". I want to add a criteria to the formula. The criteria is if cell G57 is equal to 5471 sum the range. When I try to do this I get #value error. Can you help me to update the formula? The amount that should be on cell G5 is 292673. If you remove 5471 from cell G57, cell G5 should be zero.
SumIFS_3-three-criterias.xlsx
ConernestoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Please try this...

=IF(G57=5471,SUMIFS(Sheet1!$G$1:$G$18,Sheet1!$B$1:$B$18,$F$2,Sheet1!$E$1:$E$18,"3952010",Sheet1!$C$1:$C$18,G56),0)

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

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

Start your 7-day free trial
ConernestoAuthor Commented:
Thank you very much again.

Conernesto
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome Conernesto!
0
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 Office

From novice to tech pro — start learning today.