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
- Smartsheet Customer Resources
- 62.2K Get Help
- 360 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!