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
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!