Hello again,
Sorry, but I have a follow-up question. After running the code above I need to go back, inspect the file and then clean for values in F that have an identical value in B.
So:
B F
1234 ABCD
12345 ABCDE
123 ABCD
123 ABCD
1234 ABCD
Should become:
B F
1234 ABCD
12345 ABCDE
123 ABCD
I took the code you wrote above and edited only a minor part:
Is that a correct and sensible way of doing that? It seems to work, but I am not sure it is the best way.
Also, I realized that I need to run another check after cleaning the data. I need to compare values in F to see if a cell that contains another cell's data also has the same data of column O, and if they do I need to delete the row with the shortest value in F.
Example:
F O
Bart Bevers 12345
Bevers 12345
Would become:
F O
Bart Bevers 12345
I was looking at it and it seems like I could recycle the code from the original macro, but I am not sure how to best go about checking for if values in a cell in F are found in another cell in F.
Thanks, any help is appreciated.
Bookmarks