Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Phil
 
Posts: n/a
Default How do I separate a text value with dashes?

Hello,

I have a column (called Tract Number) that contains a column with a 11
character number (BTW, it really isn't a number, if that helps), such as this
one: 7-5-029-001. The number will ALWAYS have this format, and will ALWAYS
contain 11 characters.

The first number (7 in this case) is for Township, the second (5) for Range,
the third (029) for Section, and the fourth (001) for Tract.

I have 4 new columns with Township, Range, Section, and Tract to the
immediate right of the Tract Number column. Here is my question:

How can I break up the 11 characters so that they will automatically
populate the appropiate columns?

TIA for your reply.
  #2   Report Post  
Ray A
 
Posts: n/a
Default

One way
Have a look at DataText to Columns. You test is delimited and the delimiter
is other "-" select your destination cell
HTH


"Phil" wrote:

Hello,

I have a column (called Tract Number) that contains a column with a 11
character number (BTW, it really isn't a number, if that helps), such as this
one: 7-5-029-001. The number will ALWAYS have this format, and will ALWAYS
contain 11 characters.

The first number (7 in this case) is for Township, the second (5) for Range,
the third (029) for Section, and the fourth (001) for Tract.

I have 4 new columns with Township, Range, Section, and Tract to the
immediate right of the Tract Number column. Here is my question:

How can I break up the 11 characters so that they will automatically
populate the appropiate columns?

TIA for your reply.

  #3   Report Post  
Chuck Snyder
 
Posts: n/a
Default

Assume the number you want to separate is in cell a1 and you want to
separate it into b1, c1, d1 and e1. The following formulas will do it:

in b1, use =left (a1,1)
in c1, use =mid (a1,3,1)
in d1, use =mid (a1,5,3)
in e1, use =right(a1,3)

Fill these columns down and you'll distribute all the numbers in column a
across b, c, d, and e.

Chuck


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
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
Text Wrapping JMB Excel Discussion (Misc queries) 0 July 29th 05 02:41 AM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


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

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

About Us

"It's about Microsoft Excel"