Join/Match/Count Criteria
I have a sheet that is populated by another sheet. And in this populated sheet - I'd like to count how many times certain criteria show up (two specific data points).
I assume I would need to join the two columns (i.e., Last Name and ID) and then if these two items show up together again, I'd like to have a count of these matches.
I've tried, JOIN, COUNTIF, MATCH, but haven't been successful. The highlighted cells would be the result.
Any thoughts?
Best Answer
-
Hi @John Walden ,
As you suggested, insert a helper column [full ID] with the formula: =[last name]@row+ID@row.
In your Count column us the formula:
=COUNTIF([Full ID]1:[Full ID]@row,@cell=[Full ID]@row)
As you copy the formula down the column make sure it continues to reference [Full ID]1:[full ID]@row.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @John Walden ,
As you suggested, insert a helper column [full ID] with the formula: =[last name]@row+ID@row.
In your Count column us the formula:
=COUNTIF([Full ID]1:[Full ID]@row,@cell=[Full ID]@row)
As you copy the formula down the column make sure it continues to reference [Full ID]1:[full ID]@row.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Hi Mark -
This is great - thanks! I added the absolute value and setup an autofill dynamic and now it works perfectly without copy/pasta. Appreciate it. :)
-
Glad you found a solution. Thank you for contributing to the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!