Paul Ellery
Paul Ellery

Reputation: 1745

How do I count wildcard characters using Excel COUNTIF?

How do I count the number of cells that contain the string "A*" - without treating the star as a wildcard character?

Upvotes: 4

Views: 7679

Answers (1)

Will Bickford
Will Bickford

Reputation: 5386

Quoted directly from Excel help documents: "If you want to find an actual question mark or asterisk, type a tilde (~) before the character."

COUNTIF(A1:A4,"A~*")

Upvotes: 11

Related Questions