Monthly Calculation
I need to calculate monthly expenses but I've managed to stump myself on the formula/function. Here is my use case: I've got individual line items by user, but I want to sum their monthly expense by month. I have a range the individuals are contracted with us...say from 7/1/2022 to 5/31/23. How could I write the formula to look at that date range and pull out a specific month AND calculate the spend (if the hourly rate is known)?
Thank you in advance!
Jason
Answers
-
@Jason Voorhies Here's an example:
Check out the formulas in the Expense Month column and the Monthly Sum column and see if that helps you apply them to your use case. I've included the formulas below:
- Expense Month: =IF([Expense Date]@row = "", "", MONTH([Expense Date]@row))
- Monthly Expense Totals: =SUMIF([Expense Month]:[Expense Month], [Month #]@row, [Expense Amount]:[Expense Amount])
-
You will need a column with either the specific date or the month the expense occurred in to pull out by month. It depends on how your sheet is set up
I would use a Sumif formula and multiply by the hourly rate
-
@ShelbyWarren Thank you so much!! This really helped!
-
@Jason Voorhies Glad it helped. Feel free to reach out if you have other solutions you're working through.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!