Sum by Month
We have a sheet that has a delivery fee, same day booking fee and pickup fee. I want to total those amounts per month based on the rental start date at the bottom of the sheet. We also have a tip column that would also need to be totaled separately per month. I'm new to smartsheet - so any help would be appreciated.
Best Answer
-
@Mike Wilday I got it figured out. I totaled the columns first - then added the totals together using this formula: =SUMIFS(TOTAL:TOTAL, [Rental Start Date]:[Rental Start Date], AND(IFERROR(MONTH(@cell), 0) = 12, IFERROR(YEAR(@cell), 0) = 2022)) Thanks again for your help. I'm all set!
Answers
-
It might be easier to write formulas and sum that data in the Sheet Summary section.
=SUMIFS( range, criterionrange1, criterion1, criterionrange2, criterion2)
In your case try =SUMIFS([Del. Fee]:[Del. Fee],[Rental Start Date]:[Rental Start Date], year([Rental Start Date]:[Rental Start Date])=2022, [Rental Start Date]:[Rental Start Date], Month([Rental Start Date]:[Rental Start Date])=12)
-
You can also summarize data in a report
-
For some reason that formula produces a $0 amount. How would you add the Pick Up Fee so that it is included in the monthly total as well? @Mike Wilday Thanks for taking the time to help me.
-
@Mike Wilday I have this working on just the Del. Fee - now how would I get it to add the other two columns as well? =SUMIFS([Del. Fee]:[Del. Fee], [Rental Start Date]:[Rental Start Date], AND(IFERROR(MONTH(@cell), 0) = 12, IFERROR(YEAR(@cell), 0) = 2022))
-
@Mike Wilday I got it figured out. I totaled the columns first - then added the totals together using this formula: =SUMIFS(TOTAL:TOTAL, [Rental Start Date]:[Rental Start Date], AND(IFERROR(MONTH(@cell), 0) = 12, IFERROR(YEAR(@cell), 0) = 2022)) Thanks again for your help. I'm all set!
-
I'm glad I was able to help point you in the right direction. Sorry I missed your other comments!
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!