Hi, and welcome to the forum. Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.
Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.
Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
(Since this is your first post I'll change it on this occasion but please note for the futrure)
Almost certainly you have a space or perhaps another non visible character in one of the cells.
Personally for checking things like this I prefer to use formulae in the woorksheet and then check the value of the formula in the macro.
So for instance I'd have a helper column that contained the formula
Then a check cell which I'd name say "Check_Complete" which contains the formula
Then the macro code would be
Bookmarks