How to count cells with question marks in Excel?
Supposing you have a column of values which populated with some question marks “?”, and now, you need to count the number of question marks in this list. If you use the COUNTIF function to count the question marks cells in normal way, you can’t get the correct result. This article, I will talk about how to correctly count the cells with question marks in Excel?
Count cells with question marks by using formula
Count cells with question marks by using formula
In Excel, the question mark is a type of wildcard, so you should use the COUNTIF function as this:
Enter this formula: =COUNTIF(B2:B19,"~?") into a blank cell, and then press Enter key to get the correct result, see screenshot:
Note: In the above formula, B2:B19 is the data range that you want to count the question marks, you can change it to your need.
Related article:
How to count cells beginning with specific letter in Excel?
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!