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.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 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!