下面介紹在EXCEL中統(tǒng)計含某字符的單元格個數的方法,希望本指南能幫到大家。
以下圖表格數據為例,需要統(tǒng)計姓李的人數,結果顯示在B107單元格。

我們在B107輸入公式:=COUNTIF(A106:A115,"李*")

按下回車鍵,即可得到結果:3,也就是表格中李姓的人數有3人

公式解釋:=COUNTIF(A106:A115,"李*")中的COUNTIF函數其作用是對指定區(qū)域中符合指定條件的單元格計數;那么,括號內的A106:A115就是指定區(qū)域,李*就是指定的條件。
