Help with formula using YEAR function
I have a need to count rows where:
- Issue Type = Story
- Labels include LND-Product
- Status = Done
- Year of Resolution Date = 2020
COUNTIFS({JIRA Tickets Issue Type}, "Story", {JIRA Tickets Labels}, "LND-Product", {JIRA Tickets Status}, "Done", YEAR({JIRA Tickets Resolution}),= 2020))
Says the cell is Unparseable but I cannot see what is wrong.
Help appreciated...
Best Answer
-
You are using a year formula on a range. Year can only be used on a single reference. Smartsheet has a reference that you can use to reference the active value in the range in order to still have this formula be effective called "@cell"
COUNTIFS({JIRA Tickets Issue Type}, "Story", {JIRA Tickets Labels}, "LND-Product", {JIRA Tickets Status}, "Done", {JIRA Tickets Resolution},year(@cell)=2020)
Answers
-
You are using a year formula on a range. Year can only be used on a single reference. Smartsheet has a reference that you can use to reference the active value in the range in order to still have this formula be effective called "@cell"
COUNTIFS({JIRA Tickets Issue Type}, "Story", {JIRA Tickets Labels}, "LND-Product", {JIRA Tickets Status}, "Done", {JIRA Tickets Resolution},year(@cell)=2020)
-
Thank you very much. Learned something new today!
-
I tried to do something similar but it's not working. Can you see why? I want to count how many time a particular Process was used in 2015. "Process Req" and "Enter Date" are in separate columns.
=COUNTIFS({Process Req}, Category2), {Enter Date}, YEAR(@cell)=2015)
-
You have a close parentheses after Category 2. Remove that and it should work
=COUNTIFS({Process Req}, Category2, {Enter Date}, YEAR(@cell)=2015)
-
Great! It worked!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!