You can compare two ranges using MATCH function
=MATCH(LookupValue, LookupArray, MatchType) --> use 0 for exact match
Please note that there will be no exact match because there's a space before the first visible character.
You can use trim function. =TRIM(TEXTREFERENCE) then copy, paste as values. Apply this before using Match function.