Find a specific text in one column and then count specific values in another column
Hello,
I am looking to do two reports:
For Over - I want to know how many 1's, 2s, 3s, Agreement in Place
And the same for under
So would it be a vlookup to find "over" and then count the 1s? Or a Countifs statement to find Over and then count the #s
Best Answer
-
@spothier1 If I understand correctly, you're looking for a formula to get 8 different results. Count of
- over & 1
- over & 2
- over & 3
- over & Agreement in Place
- under & 1
- under & 2
- under & 3
- under & Agreement in Place
If that's the case I would set up a table with Column A = Over or Under, Column B = Risk Level, Column C = formula below for counts:
=COUNTIFS([Over/Under Threshold]:[Over/Under Threshold], [Column A]@row, [Risk Level]:[Risk Level], [Column B]@row)
Answers
-
@spothier1 If I understand correctly, you're looking for a formula to get 8 different results. Count of
- over & 1
- over & 2
- over & 3
- over & Agreement in Place
- under & 1
- under & 2
- under & 3
- under & Agreement in Place
If that's the case I would set up a table with Column A = Over or Under, Column B = Risk Level, Column C = formula below for counts:
=COUNTIFS([Over/Under Threshold]:[Over/Under Threshold], [Column A]@row, [Risk Level]:[Risk Level], [Column B]@row)
-
oh that worked perfect!!!!!!!! thank you!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!