how?
I am trying to add multiple columns with certain criteria, but I get a 0 and no the actual answer. The formula I am using is
=COUNTIFS({1. Tech Sonic All Incident Summary Range 1}, {1. Tech Sonic All Incident Summary Range 2}, {1. Tech Sonic All Incident Summary Range 3}, {1. Tech Sonic All Incident Summary Range 4}, {1. Tech Sonic All Incident Summary Range 5}, "14. Under Influence of Alcohol and or other Drugs")
Answers
-
2 options:
- Change the cross sheet reference to include all the columns you want to count (This can only be done if they are next to each other). the formula would then be =COUNTIFS({1. Tech Sonic All Incident Summary Range all columns}, "14. Under Influence of Alcohol and or other Drugs")
- Add additional COUNTIFS formulas: =COUNTIFS({1. Tech Sonic All Incident Summary Range 1}, "14. Under Influence of Alcohol and or other Drugs") +COUNTIFS( {1. Tech Sonic All Incident Summary Range 2}, "14. Under Influence of Alcohol and or other Drugs") +COUNTIFS({1. Tech Sonic All Incident Summary Range 3}, "14. Under Influence of Alcohol and or other Drugs") +COUNTIFS( {1. Tech Sonic All Incident Summary Range 4},"14. Under Influence of Alcohol and or other Drugs") +COUNTIFS( {1. Tech Sonic All Incident Summary Range 5}, "14. Under Influence of Alcohol and or other Drugs")
-
I tried it and it didn't work.
-
When you say that it didn't work, are you getting an incorrect count, or are you getting an error?
Are you able to provide a screenshot of the formula within the sheet as well as copy/paste the exact formula directly from the sheet to here similar to the below?
=IFERROR(DATE(YEAR([\[FPI/Start-Up End\]]@row), MONTH([\[FPI/Start-Up End\]]@row) - 3, DAY([\[FPI/Start-Up End\]]@row)), DATE(YEAR([\[FPI/Start-Up End\]]@row) - 1, MONTH([\[FPI/Start-Up End\]]@row) + 9, DAY([\[FPI/Start-Up End\]]@row)))
-
I get a 0 and in the sheet where I am trying to calulate there is 1.
-
I got it to work! thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 69 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!