Countifs statement with OR function help needed

Hi there,

I'm trying to build a COUNTIFS statement that uses OR and I can't quite seem to get it to work. The first OR criteria is if the cell is blank, or says pending and I think that's where the problem lies. Any help would be appreciated! Thank you!

=COUNTIFS([VP Approval]:[VP Approval], "Approved", [HR Approval]:[HR Approval], OR(@cell = "Pending", @cell = "", Division:Division, OR(@cell = "WTC", @cell - "Can Roofing")))

Best Answer

  • Leibel S
    Leibel S ✭✭✭✭✭✭
    Answer ✓

    Kelly,


    Looks like you had some typos. Try the below:

    =COUNTIFS([VP Approval]:[VP Approval], "Approved", [HR Approval]:[HR Approval], OR(@cell = "Pending", @cell = ""), Division:Division, OR(@cell = "WTC", @cell = "Can Roofing"))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!