Formula Help
Hello,
Looking for a little quick assistance. Not sure why I can figure this out, but I guess I'm just not as intuitive with the SmartSheet logic.
I have a metrics sheet that I am using to provide data from other sheets to populate a dashboard. I currently have this formula and similar formulas that pull data within a given year:
=COUNTIF({Created Date Range}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()))
This issue with this is that once the new year comes, all of my data will go away. How do I make this pull information from "2018?" I assumed it would be ...YEAR(2018), but that's not the case. Any help is appreciated.
Comments
-
That seemed to work, thanks!
How about if I wanted to also parse out date by the month within a particular year?
For instance, I am using this formula to calculate and report a sales commission based on a sales tracking sheet. This current formula calculates the commission based on a particular month, but does not separate by year.
=SUM(0.05 * (SUMIF({Consulting Time Tracker/Billing Range 1}, IFERROR(MONTH(@cell), 0) = 12, {Consulting Time Tracker/Billing Range 2})))
-
Not sure if you figured this out or not but you can use SUMIFS to provide multiple criterion. You can repeat the same range and check the month as well.
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
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!