Hi!
I need a formula which will return the number of correct patterns in column C, which correspond to each of the entries in column A.
In the patterns, the wildcard "?" substitutes any letter, but only one. For example, there are TWO patterns in column C which both correspond to the word GEORGE in column A; but none of the patterns corresponds to CHRIS (because CH???S has one character more).

It's easy to do it the other way round, but I need it this way... any ideas?

Example:
A .......................B (results) ........... C
ROBERT ............1 .........................A??X
CHRIS.................0 ........................GE?RG?
GEORGE............2..........................R?BERT
ALEX..................1..........................CH???S
......................................................?EORGE