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.5K Get Help
- 430 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!