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
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!