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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!