The Computer Oracle

How to search for ? (question mark) in Excel

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3

--

Chapters
00:00 Question
00:24 Accepted answer (Score 135)
00:47 Answer 2 (Score 62)
01:44 Thank you

--

Full question
https://superuser.com/questions/458606/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#microsoftexcel #find

#avk47



ACCEPTED ANSWER

Score 142


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 (?).




ANSWER 2

Score 66


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