COUNTIF is Not Working as a Sheet Summary Field

I am trying to create a count of how many rows in my sheet meet a certain criteria. I created a Sheet summary field and used the COUNTIF Formula. However, it keeps returning #NO MATCH when there clearly are rows that meet the criteria.
SHEET SUMMARY FIELD FORMULA: =COUNTIF(Fund:Fund, 160)
Here is a sample of the data in my sheet that is showing rows in the Fund column that equal 160. The Fund column is defined as a Text/Number. It has a column formula that is an INDEX/MATCH to pull in data from a different sheet.
This problem is not just happening on this one column. It is happening if I use the COUNTIF against any column that has a column formula. The COUNTIF is working fine in the Sheet Summary if the column does not have a column formula.
Best Answer
-
Hello @scottreiter
Down in your column, do you have some #NO MATCH's? Because if so, it is going to return #NO MATCH. If you wrap your fund column in an IFERROR statement, it should then return a count.
=IFERROR(Your current formula, 0)
That should solve your problem.
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
Answers
-
Hello @scottreiter
Down in your column, do you have some #NO MATCH's? Because if so, it is going to return #NO MATCH. If you wrap your fund column in an IFERROR statement, it should then return a count.
=IFERROR(Your current formula, 0)
That should solve your problem.
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with! Book time with me here: https://calendly.com/michelle-choate
-
Thank you Michelle! Yes I looked thru the data and there was row in there that had a #NO MATCH. Updating the column formula with the IFERROR worked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 451 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!