Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I try to find the question mark character (?) in an Excel sheet, Excel cannot locate the cells containing them. How can I search for ? in Excel?

share|improve this question
2  
The same applies to *, in case you want to expand your question :) –  Oliver Salzburg Aug 7 '12 at 17:54

2 Answers 2

up vote 18 down vote accepted

To search for the cells containing the question mark character (?), use a tilde before it inside the search box:

~?

Now Excel will show you only the cells that contain the question mark character (?).

share|improve this answer
    
I wonder why... For me, Excel 2010 finds ? as it would with any character/letter or number. –  Dave Aug 7 '12 at 12:27
    
I just tried it on Office 2010 and it couldn't find ?. With each click on "Find" button, it just select cells starting with the first cell in the sheet. –  Mehper C. Palavuzlar Aug 7 '12 at 13:14
    
Note: The cell contains only the question mark and nothing else. –  Mehper C. Palavuzlar Aug 7 '12 at 13:15

The ? is a wildcard which represents a single character, and the * is a wildcard character that represents any string of characters.

When searching for either wildcard character, Excel will simply find everything, whether or not these actual characters appear in the cells you're searching.

To find either of the specific characters, when not using them in a wildcard search, you must precede it in your search criteria with a tilde, the ~ character.

  • ~? finds only the ? character
  • ~* finds only the * character
  • ? finds all single characters
  • * finds all strings of characters
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.