COUNTIFS Function
Answers
-
it comes from a data control sheet
-
How is it entered into the Data Control sheet and exactly how is it pulled to the formula reference sheet?
-
I entered the data into the "data control 2", and then The main sheet uses =VLOOKUP([Date of Incident]1, {Data Control 2 Range 2}, 3, false) to populate the proper quarter, according to the date of the incident
-
Ok. So it is manual entry and then VLOOKUP pulling the quarter numbers, so that shouldn't be the issue. How are the dates entered?
-
They are entered by form submission, manual entry
-
What type of column is that?
-
Date column
-
Ok. Just for testing purposes, insert a checkbox column next to the date column and enter
=IF(ISDATE([Date Column Name]@row), 1)
Are all of them checked or just some of them or even none of them?
-
the date column on the data control sheet?
-
Go ahead and do that one as well as the form sheet.
-
Every line that the formula was applied to, was checked
-
Ok. Lets try the same concept but look at the quarter columns.
=IF(ISNUMBER([Quarter Column Name]@row), 1)
-
Working for the quarter columns as well
-
Ok. So all of the data is being pulled through as it should. The formula syntax is correct. And it still isn't producing the correct count.
=COUNTIFS({Environmental Incident Tracking Range 1}, CONTAINS("Leak", @cell), {Environmental Incident Tracking Range 3}, 1, {Environmental Incident Tracking Range 4}, IFERROR(YEAR(@cell), 0) = 2020)
Hmm...
I do have a few more troubleshooting ideas left, so lets try this next one: Double check the ranges of your cross sheet references are in fact covering the correct columns and the entire column for each.
Additionally, go to the source sheet and create a filter that replicates what you are trying to accomplish with your formula.
-
Hi Paul,
Trying something different. The in between dates of each quarter. Something isn't working quite right yet, but maybe an easier option. What do you think?
Q1- DEC 29, 2019- MAR 21, 2020
Q2- MAR 22, 2020- JUN 13, 2020
Q3- JUN 14, 2020- SEP 5, 2020
Q4- SEP 6, 2020- JAN 2, 2021
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!