Month/Year Row Count Function

Neisha Fredericks
Neisha Fredericks ✭✭✭✭
edited 12/09/19 in Formulas and Functions

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".

Tags:

Comments

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

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

    Comm1_0.PNG

  • 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)

     

    Screenshot Month and year.png

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    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

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!