COUNTIF - FINDING MULTIPLE VALUES IN 2 COLUMNS

I am trying to write a formula that will count 2 values in one column & exclude two values in another column. My two columns are: Department & Modified. I want to count the words "Sale" and "Manager" in this multi-select column but only if the Modified column doesn't contain "Furlough" or "Separated".

I tried: =COUNTIFS({VA DEPARTMENT}, FIND ("MANAGER",@CELL)>0, {VA DEPARTMENT}, FIND ("SALE",@CELL)>0, {VA MODIFIED}, @CELL <>"FURLOUGH",{VA MODIFIED}, @CELL <>"SEPARATED")

Suggestions please.

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Try something like this...

    =COUNTIFS({VA DEPARTMENT}, OR(@cell = "Manager", @cell = "Sale"), {VA MODIFIED}, AND(@cell <> "Furlough", @cell <> "Separated"))

    thinkspi.com