Hello to all gurus here..
I am quite new to macros and vba and cracking my head to solve this problem but I don't know whether it is possible.
I have just say about 100 four digits numbers in column A and the code should take the first number find the identical number then copy both the first number and the matching in column B and loop through the rest of the list. That sounds pretty easy right but here's the problem:
The matching pattern is like this -
Just say the number is 1234 then it should look for
a) the exact number
b) all the permutation ie 1432, 1324, 2314 etc..
c) 123?, 12?4, 1?34, 1?234 (ie 1254, 9234, 1238 etc)
d) backward - 432?, 43?1, 4?21, ?321 (ie 4329, 8321, 4921 etc)
Any advise are much appreciated.
Thank you in advance
Bookmarks