Sum last n rows
Does anyone know how to write a formula that will sum up the last four rows only?
Example- The GPO Volume dollar amount gets populated each quarter.
I would like a formula that would remove row 11 and add in row 15 once the value is in there so I can only show the last 4 quarters total volume.
Thanks in advance!
Answers
-
Try something along the lines of
=SUMIFS({GPO Volume}, {Distribution Date}, @cell>= LARGE(COLLECT({Distribution Date}, {GPO Volume}, @cell <> ""), 4))
-
Thank you for the response! I couldn't get that to work. I'm thinking it's something with the ,4)) at the end.
I keep getting #UNPARSEABLE.
-
The formula has the proper syntax. Are you able to provide a screenshot of the formula open in the sheet as if you are about to edit it?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 202 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!