Hello,
i hope someone can help me solve this puzzle. I'm calculating the number of rows in my sheet based on some criteria in one column (Division), but I need to exclude 3 people (rows) from it temporarily based on another column (Last Name).
I'm able to exclude one, but I'm not able to add the exclusions for the other two.
=COUNTIFS([Division]:[Division], OR(@cell = "Div 1", @cell = "Div 2", @cell = "Div 3", @cell = "Div 4", @cell = "Div 5"), [Last Name]:[Last Name], NOT(CONTAINS(@cell, "Person 1")))
this formula works and exclude Person 1, but I'm trying to add two more and i get INCORRRECT ARGUMENT.
I tried multiple ways (below is one of them).
=COUNTIFS([Division]:[Division], OR(@cell = "Div 1", @cell = "Div 2", @cell = "Div 3", @cell = "Div 4", @cell = "Div 5"), [Last Name]:[Last Name], NOT(CONTAINS(@cell, "Person 1", @cell, "Person 2")))
Thank you for your help!