What formula should I use? SUMIF or COUNT IF?
I am trying to come up with a formula to separate vehicle mileage by fiscal year and by tag number. Would this be a SUMIF or COUNTIF formula? I'm having a hard time coming up with the appropriate criteria.
I have this so far, but it doesn't work: SUMIF ([Fiscal Year], if [Tag Number]1@row="__", sum[Miles Driven]1@row "__")
Best Answer
-
You would need a SUMIFS (with the "S" on the end).
=SUMIFS([Miles Driven]:[Miles Driven], [Tag Number]:[Tag Number], @cell = "12345", [Fiscal Year]:[Fiscal Year], @cell = "FY##")
Answers
-
Are you able to provide screenshots for reference?
-
You would need a SUMIFS (with the "S" on the end).
=SUMIFS([Miles Driven]:[Miles Driven], [Tag Number]:[Tag Number], @cell = "12345", [Fiscal Year]:[Fiscal Year], @cell = "FY##")
-
Thank you SO much! I've been trying to figure this out for a week!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!