Count all rows in column A containing “(CLOSED)” or “(DO NOT USE)”

前端 未结 2 695
广开言路
广开言路 2021-01-16 03:40

I am trying to return by Excel function a count of all the rows in column A where the text (CLOSED) or (DO NOT USE) is contained. All rows will c

2条回答
  •  执念已碎
    2021-01-16 04:18

    You need to place a wild card in your expression.
    If you want to match (CLOSED) anywhere in the string:

    =COUNTIF(A:A,"*(CLOSED)*")
    

    If you only want to match it at the end:

    =COUNTIF(A:A,"*(CLOSED)")
    

提交回复
热议问题