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
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 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!