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.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!