LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how can I make info in one cell appear in 3 different columns?

Format Column D as Special/Zip Code would be one way (although on my system,
the leading zero is preserved directly from the formula with the cell
Formatted as General).

Rick


"JohnL" wrote in message
...
Rick,
Regarding the equation to extract the ZIP code, how would you retain a
leading zero as in Attleboro, MA 02703?
Thanks
John L

"Rick Rothstein (MVP - VB)" wrote:

Assuming the city is always separated from the state by a coma space and
the
the zip code is always a 5-digit number, then if your entry is in A1, put
the following formulas in B1, C1 and D1...

B1: =LEFT(A1,FIND(",",A1)-1)

C1: =TRIM(SUBSTITUTE(SUBSTITUTE(A1,B1&",",""),D1,""))

D1: =RIGHT(A1,5)

Rick


"Joe" wrote in message
...
I'd like to take something like this out of one cell:

White Plains, New York 10604

and make it appear in 3 different columns, is it possible?




 
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
is there a way to make info from one cell migrate to another cellautomatically? Joe Excel Discussion (Misc queries) 2 March 14th 08 04:10 AM
I HAVE SAY INFO ACROSS 10 COLUMNS. HOW TO MAKE THE COL-A CELL ACTIVE WHEN U HIT 'ENTER' CAPTGNVR Excel Discussion (Misc queries) 4 February 5th 07 08:27 PM
too much info in one cell in excel how do I make it 2 lines? puumbaa Excel Discussion (Misc queries) 2 June 1st 06 05:59 AM
How do you make 3 stacked columns of info for each date in Excel Jamey Charts and Charting in Excel 0 March 26th 06 11:45 PM
When sorting info in columns, can I make it insert blank line bet. nanalehew Excel Worksheet Functions 2 March 12th 05 04:36 PM


All times are GMT +1. The time now is 04:22 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"