Current Week/Last Week
I want to be able to get a count of Issues Created, based on certain criteria, for both the current week and the week previous.
I tried making things easy for myself and creating helper columns but those didn't seem to function, so I am here.
I want to count the number of instances an issue was created if the branch and the issue type match.
My formula is super messy and definitely not functioning.
=IF(WEEKNUMBER(TODAY()) = 1, COUNTIFS({Created Date}, IFERROR(WEEKNUMBER({Created Date}), 0) = 52, {Created Date}, IFERROR(YEAR({Created Date}), 0) = YEAR(TODAY()) - 1), COUNTIFS({Created Date}, IFERROR(WEEKNUMBER({Created Date}), 0) = WEEKNUMBER(TODAY()) - 1, {Created Date}, IFERROR(YEAR({Created Date}), 0) = YEAR(TODAY()), {Created Date}, [Primary Column]8, {Created Date}, [Primary Column]7))
Best Answer
-
Give this one a go...
=IF(WEEKNUMBER(TODAY()) = 1, COUNTIFS({Created Date}, IFERROR(WEEKNUMBER(@cell), 0) = 52, {Created Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()) - 1, {Branch}, PARENT([Primary Column]@row), {Issue Type}, [Primary Column]@row), COUNTIFS({Created Date}, IFERROR(WEEKNUMBER(@cell), 0) = WEEKNUMBER(TODAY()) - 1, {Created Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()), {Branch}, PARENT([Primary Column]@row), {Issue Type}, [Primary Column]@row))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
Give this one a go...
=IF(WEEKNUMBER(TODAY()) = 1, COUNTIFS({Created Date}, IFERROR(WEEKNUMBER(@cell), 0) = 52, {Created Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()) - 1, {Branch}, PARENT([Primary Column]@row), {Issue Type}, [Primary Column]@row), COUNTIFS({Created Date}, IFERROR(WEEKNUMBER(@cell), 0) = WEEKNUMBER(TODAY()) - 1, {Created Date}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()), {Branch}, PARENT([Primary Column]@row), {Issue Type}, [Primary Column]@row))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
that was smooth, thanks so much!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 302 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!