Trying to subtract 1 year.
frob
✭✭
I'm trying to count rows for 2022 in a set of data. Below is the formula I was trying. I have a column called years in the main data that parses out the year from the timestamp. What am I doing wrong?
=COUNTIFS({URV 2 Years Range chem}, true, {URV 2 Years Year}, YEAR(TODAY() - 1))
Best Answer
-
Instead of YEAR(TODAY() - 1)
try
YEAR(TODAY()) - 1
Answers
-
Instead of YEAR(TODAY() - 1)
try
YEAR(TODAY()) - 1
-
I feel like a dummy but thank you so much for helping! That did it.
-
No problem. I bet you were focused on extracting the year from a date stamp and thinking the complex part was the issue. 😀
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 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!