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 Spreadsheets: Experience Efficiency Like Never Before with Kutools for Excel
Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...
Supports Office/Excel 2007-2021 & newer, including 365 | Available in 44 languages | Enjoy a full-featured 30-day free trial.
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!
