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
- Customer Resources
- 66.2K Get Help
- 430 Global Discussions
- 150 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 500 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!