HI Below code compare the value in part of column P with the actual value in column H. If any difference it mark in column H.
It works fine when all is numbers. But in some cases it can be mixed and here it give the wrong result.
In the test sheet all ís matching according to the formula in the code. But it mark H12 to H15 yellow, because I think there is mixed letters and numbers.
The formula check from digit 15 and 11 digit with the mid function and then it add up to 12 digets with leading zeroes.
Here below is the code. and there is also a test sheet to check with.
Please have a look
Sincerely
Abjac
Bookmarks