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
-
-
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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67K Get Help
- 441 Global Discussions
- 154 Industry Talk
- 502 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 79 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!