Exclude values where text contains

%3CLINGO-SUB%20id%3D%22lingo-sub-2361229%22%20slang%3D%22en-US%22%3EExclude%20values%20where%20text%20contains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2361229%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Tech%20community%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20do%20a%20counta%20formula%20on%20a%20column%20range%20(B2%3AB10)%20but%20I%20only%20want%20to%20do%20it%20if%20values%20in%20another%20column%20(A)%20are%20equal%20to%20a%20certain%20value.%20How%20would%20I%20construct%20that%20formula%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2361229%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2361298%22%20slang%3D%22en-US%22%3ERe%3A%20Exclude%20values%20where%20text%20contains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2361298%22%20slang%3D%22en-US%22%3E%3D%20COUNTIFS(colA%2C%20%22x%22%2C%20colB%2C%20%22%26lt%3B%26gt%3B%22)%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi Tech community,

 

I want to do a counta formula on a column range (B2:B10) but I only want to do it if values in another column (A) are equal to a certain value. How would I construct that formula?

 

 

1 Reply
= COUNTIFS(colA, "x", colB, "<>")