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
Check out the Formula Handbook template!