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

前端 未结 2 686
广开言路
广开言路 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:09

    Please try:

    =COUNTIF(A:A,"*(CLOSED)*")+COUNTIF(A:A,"*(DO NOT USE)*")
    
    0 讨论(0)
  • 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)")
    
    0 讨论(0)
提交回复
热议问题