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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!