Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Robert Judge
 
Posts: n/a
Default How do I convert 9 digit zipcodes to 5 digits?

I have an EXCEL 2003 spreadsheet containing a column with zip codes in this
format:
12345-6789

How can I convert these zip codes to a column that just has the first five
digits, that is:
12345

?

I will appreciate advice.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default How do I convert 9 digit zipcodes to 5 digits?

In the new column use the formula =LEFT(A1,5)

"Robert Judge" wrote:

I have an EXCEL 2003 spreadsheet containing a column with zip codes in this
format:
12345-6789

How can I convert these zip codes to a column that just has the first five
digits, that is:
12345

?

I will appreciate advice.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Anne Troy
 
Posts: n/a
Default How do I convert 9 digit zipcodes to 5 digits?

=left(a1,5) will pull the first 5 characters from a cell.
************
Anne Troy
VBA Project Manager
www.OfficeArticles.com

"Robert Judge" wrote in message
...
I have an EXCEL 2003 spreadsheet containing a column with zip codes in this
format:
12345-6789

How can I convert these zip codes to a column that just has the first five
digits, that is:
12345

?

I will appreciate advice.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default How do I convert 9 digit zipcodes to 5 digits?

DataText to Columns

De-limited by -

Choose to not import(skip) the second column.


Gord Dibben Excel MVP

On Fri, 18 Nov 2005 08:17:09 -0800, Robert Judge
wrote:

I have an EXCEL 2003 spreadsheet containing a column with zip codes in this
format:
12345-6789

How can I convert these zip codes to a column that just has the first five
digits, that is:
12345

?

I will appreciate advice.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting the first 3 digits out of 6 digit cells? Darla Excel Worksheet Functions 5 September 15th 05 03:08 PM
Mod 10 & 11 Pablo Excel Worksheet Functions 13 August 10th 05 11:39 AM
How do you display 16 digit numbers in excel ? (it keeps convert. CiaraF Excel Discussion (Misc queries) 3 March 30th 05 06:38 PM
Tell users how to sort 5 digit and 9 digit zipcodes correctly aft. [email protected] New Users to Excel 1 February 18th 05 12:59 AM
I have a col. with 6 digit nos to convert to 3 cols of 2 digits Brian Excel Discussion (Misc queries) 4 December 3rd 04 09:21 PM


All times are GMT +1. The time now is 05:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"