Hi Guys,
I am having a bit of trouble with my excel macro. There's a part of code wherein it compares cells from sheet1 to sheet2. The issue is even when a cell in sheet1 matches the cell in sheet2 it still shows as "NOT MATCH".
I believe that one of the cells, either ValueA or ValueB, has hidden characters in it. Their contents came from different sources. I tried doing CLEAN() formula but that didn't help. Any ideas? PLEASE SEE LINKED FILE ABOVE. I copied and pasted the 2 values AS IS so you can test what could be hidden.
I am dealing with a large rows of data so I don't want to be using DO WHILE in VBA. Is there a formula or code to leave just visible characters and SPACE in a cell?
================================================================
Here's another sample, this is taken from the master file itself so it's close to the original. As you can see, there is a formula in sheet1 column B that checks if each of the Record ID already exists in sheet2. All of them say "NOT FOUND" (Doesn't exist in sheet2) but many of them actually already exists in sheet2 including Record ID "1743840". If you do a manual CTRL+F to find that Record ID in sheet2 you'll see it's there and the FIND system works, but the formula isn't.