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
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!