My data looks like this:

enter image description here

Why is this error showing up?


This is a common result of imprecise matching, such as with whitespace problems.

For example, if you imagine that the grey shading used in codeblocks on StackExchange represents the whitespaces in your Excel cells, then AK is technically the same as


You can trim and/or use wildcard chars to allow matching to skip spaces. For example:


| improve this answer | |
  • $\begingroup$ I've looked for spaces after each of the state names. There aren't any. $\endgroup$ – Minu Dec 6 '14 at 0:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.