Formula for summing the value in one column when it matches another column
I'm looking to put a formula together that will look at the values of one column and then grab the count in a corresponding and return the total value as they match.
Example:
I have a formula sheet that pulls in project phases and the number of risks by priority for each project. What I'm looking to do is total up the number of risks for projects in a certain phase.
psuedo code:
If "program phase" equals "Commitment" count the number of "Super High" that match "Commitment".
In the screenshot it should equal "2" but I keep getting incorrect argument and I've tried a couple of different options, count, countifs, if statements....can I get some direction on the correct formula?
Comments

Change countifs to sumif in your formula and it should work.

Excellent! Simple fix...it worked!
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 10.5K Get Help
 61 Global Discussions
 46 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 54 Brandfolder
 124 Just for fun
 50 Community Job Board
 466 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!