Share via

Countif Excel

Anonymous
2024-11-05T13:14:56+00:00

=COUNTIF(C10:C45,"?") seems to work as count if not blank rather than counting question marks. how can i count question marks?

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2024-11-05T13:22:12+00:00

"?" is a wildcard meaning "any character". To specify that you want ? as a literal character, prefix it with a tilda ~

=COUNTIF(C10:C45,"~?")

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-11-05T17:47:16+00:00

    thanks that worked, id tried double quotes and single and double.

    Was this answer helpful?

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more