How to count a value with 2 range and criterion

I'm trying to count all status that has "Change Complete" at HR Status Column within a specific month, say for the month of July from another column "Effective Date" (with date column property) and below was my formula but getting incorrect argument set error.

=COUNTIF([HR Status]:[HR Status], "Change Complete", [Effective Date]:[Effective Date], =MONTH(7))

Thank you in advance for the help.

Best Answer

  • Jason Tarpinian
    Jason Tarpinian ✭✭✭✭✭✭
    Answer ✓

    Great to hear! The MONTH() function returns the month of the calendar year, so in the case of 7, it's returning any date that has the month of July.

    You can get dynamic, depending on your use case, and use MONTH(@cell)=MONTH(TODAY()), and it would then always count the current month.

    Jason Tarpinian - Sevan Technology

    Smartsheet Aligned Partner

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!