Adding up only the numbers that meet a specific criteria in another column
As stated in the titled above, I am trying to figure out how to do a formula that adds certain numbers together in a column, based on if the text in the column next to it, on the same row, is a certain value.
Example - Add Column B's Hours together (.5 +3 +6) but only if the column next to it in the same row says " Meetings".
Thanks for any and all advice/help!
Best Answer
-
You would want to look into the SUMIFS function.
=SUMIFS([Column to Sum]:[Column to Sum], [Criteria Column]:[Criteria Column], "criteria")
Answers
-
You would want to look into the SUMIFS function.
=SUMIFS([Column to Sum]:[Column to Sum], [Criteria Column]:[Criteria Column], "criteria")
-
Thank you Paul!
-
Hi! Would this work the same for a COUNTIFS function? I want to count the number of rows that are not blank in one column when another column has a specific value.
Thank you!
Thu
-
@Thu Nghiem Yes it should.
=COUNTIFS([First Column]:[First Column], @cell <> "", [Second Column]:[Second Column], @cell = "specific value")
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
- 146 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!