Array entered (CTRL+SHIFT+ENTER), the following formula will count the number
of cells in the range B1:B10 that have the left 4 characters of cell A5
appear anywhere in each string. Change the cell references to fit your
specific data:
=SUM(IF(ISERROR(SEARCH(LEFT(A5,4),B1:B10)),0,1))

Signature
Regards,
Dave
> I have a large customer list and am looking for duplicates that may be a
> variant spelling.
[quoted text clipped - 16 lines]
> forumla to look for those 4 letters anywhere in the name, instead of an exact
> match.
Ted Metro - 21 Nov 2005 19:09 GMT
Thanks David, that works great!!!
> Array entered (CTRL+SHIFT+ENTER), the following formula will count the number
> of cells in the range B1:B10 that have the left 4 characters of cell A5
[quoted text clipped - 23 lines]
> > forumla to look for those 4 letters anywhere in the name, instead of an exact
> > match.