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])
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!