How do I count 2023 Q1 items that are not specific request statuses?

Here is my formula:

=COUNTIFS([Plan of Record]:[Plan of Record], FIND("2023", @cell) > 0, [Request Status]:[Request Status], NOT(CONTAINS("Cancelled", @cell), NOT(CONTAINS("Merged", @cell), NOT(CONTAINS("Rejected - Insufficient Value", @cell), NOT(CONTAINS("Rejected - Duplicate", @cell)), [Planned MVP Launch Date]:[Planned MVP Launch Date], AND(@cell >= DATE(2023, 1, 1), @cell < DATE(2023, 4, 1))))))))

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Looks like some syntax / parenthesis issues. Try this:

    =COUNTIFS([Plan of Record]:[Plan of Record], FIND("2023", @cell) > 0, [Request Status]:[Request Status], AND(NOT(CONTAINS("Cancelled", @cell)), NOT(CONTAINS("Merged", @cell)), NOT(CONTAINS("Rejected - Insufficient Value", @cell)), NOT(CONTAINS("Rejected - Duplicate", @cell))), [Planned MVP Launch Date]:[Planned MVP Launch Date], AND(@cell >= DATE(2023, 1, 1), @cell < DATE(2023, 4, 1)))

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!