Error In Filtering Parent Row Formula
In my metric sheet, I am receiving the #INCORRECT ARGUMENT SET error on code I made trying to only count the child rows in my reference sheet.
=COUNTIFS({Is it implemented?}, 1, {evidence attached 1}, "Yes", {Parent?})
I wasnt sure what part of my reference sheet I was supposed to click on to add the "Parent?" part, so I just used the same column for my "Is it implemented?" part of the code.
I have a helper column in my metrics sheet that says
=IF(COUNT(CHILDREN()) > 0, 1, 0)
Was I supposed to link that to my reference sheet somehow?
I'll attach 3 photos below. Thank you for your help!
Answers
-
#INCORRECT ARGUMENT SET means you have one too many arguments in a function, or incorrect parameters. In this instance, you do not have criteria that you are measuring {Parent?} against.
I always add 2 columns to EVERY SINGLE SHEET that help out a lot. One is called P, one is called C. They each have a column formula. P is =COUNT(ANCESTORS()), and C is =COUNT(CHILDREN()). Then I can use those in formulas to select either the Parent (usually 0 or 1 in the P column, depending on what you do), or use the C column and just make the criteria >0.
Michelle Choate
michelle.choate@outlook.com
Always happy to walk through any project you need help with!
-
if I make those two P and C columns, how would I write the formula in my metrics sheet to not count my check marks in the parent rows?
-
Hi @megtro610,
Based on your existing formula and the great suggestion provided by @Michelle Choate 2, once you’ve created the P and C columns in the referenced sheet, the formula in your Metrics Sheet should look similar to below, since this will only include rows that have no child rows:
- =COUNTIFS({Is It Implemented?}, 1, {evidence attached 1}, “Yes”, {C column}, 0)
Does that work?
Georgie
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 463 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!