Month/Year Row Count Function
Hello All,
Can someone help me figure out why this formula is not working anymore?
=COUNTIFS({OSPO Engagements Archive complete date}, IFERROR(MONTH(@cell), 0) = 1, {OSPO Engagements Archive Hierarchy}, =0, {OSPO Engagements Archive complete date}, IFERROR(YEAR(@cell), 0) = 2019)
It used to count all of the rows for a specific month and year where the hierarchy was "0". It is now returning "Incorrect Argument".
Comments

Can you post a screenshot of the formula in the sheet similar to the screenshot below?

Hi Paul,
I will do my best.
This is currently working (screenshot) and provides the result of all rows with month and year (titled as such). What I need though is this format and isolating only those rows that also have "0" as the hierarchy. The formula I presented in my initial query used to work, but I tried to copy it to other rows and broke it.
That formula is: =COUNTIFS({OSPO Engagements Archive complete date}, IFERROR(MONTH(@cell), 0) = 1, {OSPO Engagements Archive Hierarchy}, =0, {OSPO Engagements Archive complete date}, IFERROR(YEAR(@cell), 0) = 2019)

How do you have the hierarchy established on the source sheet? You would need a column that actually produces the appropriate hierarchy number. You would then reference this column in a cross sheet reference.
Help Article Resources
Categories
Check out the Formula Handbook template!