Excel Formula based on multiple criteria


I'm trying to create a formula that will look at two columns and then add up the 3rd column if both criteria are met.

Screenshot of Excel sheet
I've used SUMIF before which has always worked but I'm unable to get this working.

What I would like to do is for Excel to look at Column E for CFT1000, then if Column G matches FPUP01 it then adds all values in Column J together.

Who is Participating?

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

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.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
since you got multiple criterion, try use SUMIFS instead of SUMIF, like:


Open in new window

whfitAuthor Commented:
Thanks for the reply Ryan but I can't seem to get that working either, could you use my example and show me the formula I would need to use?
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
where's your example? I have provided an example based on your screenshot.

or you may upload yours here?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

whfitAuthor Commented:
Sorry I didn't see the attached example. That makes sense but can you have a formula that looks for text like SUMIF does?
ShumsExcel & VBA ExpertCommented:

I think OP wants sum only in first occurrence of Account:
If you want formula in Col K, then try below formula in K2 and drag down:

Open in new window

whfitAuthor Commented:
Thanks Shums. That works but could I ask what would it look like if i needed the calculation on sheet 2? And if there were 20,000 rows?
ShumsExcel & VBA ExpertCommented:
First Create 3 Named Range in Sheet1 with below formulas:

Open in new window


Open in new window


Open in new window

Then in Sheet2 where you want Sum Formula to be, enter below formula in second row and drag down:

Open in new window

Make sure you have Nominal & Account Column in Sheet2 as well.
Check in attached....

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
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.