ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Extracting last 5 characters from a cell (https://www.excelbanter.com/excel-discussion-misc-queries/31913-extracting-last-5-characters-cell.html)

colleen Curley

Extracting last 5 characters from a cell
 
I am trying to extract the last 5 characters from a cell and enter them in a
seperate cell. I have several thousand addresses that I have in excel and I
want to pull the zip codes out and have them in a seperate cell so I can sort
them by zip code.
Basically cell A is a complete address and I want cell B to contain the zip
codes

Ron de Bruin

Hi colleen

See the Excel help for the right function

=RIGHT(A1,5)



--
Regards Ron de Bruin
http://www.rondebruin.nl


"colleen Curley" <colleen wrote in message
...
I am trying to extract the last 5 characters from a cell and enter them in a
seperate cell. I have several thousand addresses that I have in excel and I
want to pull the zip codes out and have them in a seperate cell so I can sort
them by zip code.
Basically cell A is a complete address and I want cell B to contain the zip
codes




colleen curley

You are a life saver. Thanks

Colleen

"Ron de Bruin" wrote:

Hi colleen

See the Excel help for the right function

=RIGHT(A1,5)



--
Regards Ron de Bruin
http://www.rondebruin.nl


"colleen Curley" <colleen wrote in message
...
I am trying to extract the last 5 characters from a cell and enter them in a
seperate cell. I have several thousand addresses that I have in excel and I
want to pull the zip codes out and have them in a seperate cell so I can sort
them by zip code.
Basically cell A is a complete address and I want cell B to contain the zip
codes






All times are GMT +1. The time now is 04:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com