extract zip code from numbers spreadsheet

I have a numbers spreadsheet of addresses where everything is included in a single cell. I'd like to extract ONLY the zip code, but I can't figure out the formula... I can either extract a 5 digit number, or extract the last 5 characters of the string, but don't know how to create that formula. Any help out there?

Mac Pro, macOS High Sierra (10.13.4)

Posted on Jul 27, 2018 9:27 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 30, 2018 7:10 AM

Hi Binx,


If all zip codes are 5 characters long, and they all are the last 5 characters in an address, you can use the RIGHT function.

User uploaded file

Formula in B2 (and Fill Down) =RIGHT(A2,5)

That will return a text string of the zip code.


Regards,

Ian.

4 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

extract zip code from numbers spreadsheet

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.