Here we go. The following formula will return a 1 for entries where the vendor is the same and the invoice has a character added. Vendors are in column A and invoice numbers in column B. Put the formula in C2 and copy down.

=COUNTIFS(A:A,A2,B:B,LEFT(B2,LEN(B2)-1))