LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Need to format varying zip codes...

I have an exported Spreadsheet which contains customer information which will
in turn be used for a mail merge...

However, because there is no validation on the input field in the program
doing the exporting the Zip Codes on these addresses is not formatted
correctly. To further complicate the problem the program exports the city
state and zip all in one field.

I need a way to find the Zip Code portion of the cell and format it to only
the typical 5 digit format (Not the longer # digit format...) For example:

The data is as follows:

A2 = Business Name B2 = Customer Name C2 = Address D2 = CityStateZip

The Zips will either be something like 12345 or 123456789 and thus I need to
get the 9 character zip down to the first 5 (keep in mind it is contained
with the City and State as well in the same cell...)

Thanks so much for your help in advance!

 
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
format zip codes in Excel asSYSter Excel Discussion (Misc queries) 7 September 4th 06 09:36 PM
How do I retain the format of varying numbers in Excel? xardoz Excel Discussion (Misc queries) 6 June 20th 06 05:16 PM
zip codes not being saved as text in CSV format MelissaM Excel Discussion (Misc queries) 5 September 9th 05 11:10 PM
how to format zip codes [email protected] Excel Discussion (Misc queries) 1 March 7th 05 08:29 PM
I am not able to format cells for zip codes JMelloman Excel Worksheet Functions 3 December 14th 04 02:24 AM


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

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"