Counting Occurances
Column A shows NAMES, Column B shows Dates of occurrences (from other sheet) of those names. So a cell in Column B looks like "Date 1; Date 2; Date 3; Date 4: etc". I'm trying to count how many times the date occurs by year. So I'd like a column C called 2022 that counts how many times 2022 shows up in the list in column B. Is that possible?
Best Answer
-
Try this formula. I'm going to assume your cross-sheet reference names below, replace with the real names.
= COUNTIFS({Names}, NAMES@row, {Dates}, YEAR(@cell)="2022")
Answers
-
Try this formula. I'm going to assume your cross-sheet reference names below, replace with the real names.
= COUNTIFS({Names}, NAMES@row, {Dates}, YEAR(@cell)="2022")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!