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
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!