Calculating a Total Occurring within a Specific Month (SUMIF)
Hello,
I am working off the provided personal car mileage tracker to create a monthly total for an employee. I am creating a sheet summary formula. My formula isn't giving me an error but it isn't calculating either! I've tried it with and without the parent/child indentation and same result.
I want to calculate the total miles driven within a specific month. The example used here is March. I don't need it specific to a certain year, because I plan to archive the data and re-use the same template for 2024.
Here's what I have: =SUMIF(Date:Date, MONTH(Date:Date) = 3, [Total Miles]:[Total Miles])
Answers
-
You need an @cell reference for the MONTH function like so:
=SUMIF(Date:Date, MONTH(@cell) = 3, [Total Miles]:[Total Miles])
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!