Calculate YTD based on given criteria
Very new to Smartsheet:
I have a sheet with 14 columns. The first 12 are Jan-Dec. The 13th is the Reporting Month thru which I want smartsheet to calculate the YTD total. And the "PTD" column is the formula with the result.
Let's pretend we're in June, and I want to look back at Q1. I want to populate column 13 ("RPTMO" in image below) with the number 3 so smartsheet will add up Jan+Feb+Mar columns and put the result in the "PTD" column. In Excel I would use a helper row and then sumif, but without a helper row I don't know how to accomplish this without 12 embedded IF formulas, which is an ugly solution.
Any help would be appreciated!
Thank you!
Answers
-
It would be the same in Smartsheet. Either a helper row or adding together 12 IF statements.
-
Thanks for the reply Paul.
My helper rows were always sitting above my column headers in Excel so they don't get confused with the data, and didn't get overwritten when we dropped in updated data. Is there some functionality in Smartsheet that allows for me to accomplish the same thing, other than setting aside row 1 (for example) for my helper formulas?
Thanks!
-
Unfortunately there is not.
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!