When using the OR function inside COUNTIF, can @row be used? The following is a basic example when calculating the number of times an agency names appear.
· The formula references the Agency column in another sheet which has three possibilities. One option is “BOTH” which represents both agencies. Therefore, a count of one would be calculated for each of the two agencies.
· On the formula/calculation sheet:
· The name of the two agencies appear in row 1 and row 2 in the Agency column.
· The next column (formula column) is to the right and contains the formula.
How can the formula be written to count for agency name using @row and “BOTH”?
I have tried =COUNTIF({Agency}, OR(Agency@row, @cell = "Both")) but it causes an Invalid Data Type error.
Thank you for your response.