0

I am trying to track for a sales tracking sheet the following but it is not working.

Here is what I have so far

=COUNTIFS(J10:J, "offer & didn't buy", J10:J, "follow-up & didn't buy", J10:J, "follow-up & no show")

1
  • COUNTIFS takes conditions as AND not OR. Do you mean OR (i.e., count if ANY of those strings are an exact match)? Commented Mar 10, 2021 at 23:26

1 Answer 1

1

COUNTIFS criteria work on an AND basis, not OR. If you mean "Count cells in J10:J that contain any of these three exact strings," then try this:

=COUNTA(FILTER(J10:J, NOT(ISERROR(REGEXEXTRACT(J10:J,"offer & didn't buy|follow-up & didn't buy|follow-up & no show")))))

COUNTA will count everything that is not blank/null in the given range (real or virtual).

The formula creates a FILTERed range for the COUNTA to count. That range includes only entries where REGEXEXTRACT tries to extract one of the three target strings and does not return an error, i.e., NOT(ISERROR(...)).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.