Good afternoon!
I'm trying to make a worksheet as simple as possible for another user.
I'm using VLOOKUP to get a county FIPS code based on a Zip Code. Normally, that's fine. But the lists the person has to work with have 9-digit Zip Codes (xxxxx-xxxx), and I need to pull out only the first 5 digits.
If I use the LEFT function in a helper column, I can see the 5-digit result, but VLOOKUP can't, and it gives a #VALUE error. I can't use the LEFT function inside a VLOOKUP forrmula. I don't want them to have to copy-and-paste-special-text each time.
What can I do to get a lookup based on only the first 5 digits that are automatically extracted?
Thanks for your help.
I'm trying to make a worksheet as simple as possible for another user.
I'm using VLOOKUP to get a county FIPS code based on a Zip Code. Normally, that's fine. But the lists the person has to work with have 9-digit Zip Codes (xxxxx-xxxx), and I need to pull out only the first 5 digits.
If I use the LEFT function in a helper column, I can see the 5-digit result, but VLOOKUP can't, and it gives a #VALUE error. I can't use the LEFT function inside a VLOOKUP forrmula. I don't want them to have to copy-and-paste-special-text each time.
What can I do to get a lookup based on only the first 5 digits that are automatically extracted?
Thanks for your help.