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
- 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
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!