Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I truncate a text field in Excel?

I have a field with two data elements, separated by a | (pipe symbol). I
would like to populate the 1st half into one cell, and the 2nd half into
another cell. This is the opposite of the Excel function "Concatenate".
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default How do I truncate a text field in Excel?

Make sure the column adjacent to the right is empty, if not insert a new
column to the right
select the column you want to split and do datatext to columns, select
delimited, click next and in the other box put the pipe character then click
finish. Make sure it does what you want before you save the workbook


--


Regards,


Peo Sjoblom





"Baxter" wrote in message
...
I have a field with two data elements, separated by a | (pipe symbol). I
would like to populate the 1st half into one cell, and the 2nd half into
another cell. This is the opposite of the Excel function "Concatenate".



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default How do I truncate a text field in Excel?

Try this:

Select the single-column range of values

From the Excel Main Menu:
<data<text-to-columns.....Check: Delimited......Click [Next]
In the "other" box....Type the pipe symbol....Click [Finish]

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Baxter" wrote in message
...
I have a field with two data elements, separated by a | (pipe symbol). I
would like to populate the 1st half into one cell, and the 2nd half into
another cell. This is the opposite of the Excel function "Concatenate".



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How do I truncate a text field in Excel?

Depending upon the elements.................

DataText to ColumnsDelimited byOther.

Enter the pipe and Next to see what you get.

If dealing with dates or numbers with a preceding 0 you should go to Next and
Format Data Column.

Select Date or Text

If looks OK hit Finish.


Gord Dibben MS Excel MVP


On Wed, 26 Sep 2007 16:06:00 -0700, Baxter
wrote:

I have a field with two data elements, separated by a | (pipe symbol). I
would like to populate the 1st half into one cell, and the 2nd half into
another cell. This is the opposite of the Excel function "Concatenate".


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
excel save as csv - force text qualifier on every text field Newbie-Don Excel Discussion (Misc queries) 6 April 2nd 23 08:33 PM
How do I truncate or hide portions of text in a pivot table? Sean McCloskey Excel Worksheet Functions 1 July 26th 06 01:02 AM
how do i truncate text-- create cell with only 125 charecters zahara Excel Worksheet Functions 2 July 5th 06 08:23 PM
How do you truncate a text string? dailygluttony Excel Worksheet Functions 2 March 28th 06 08:08 PM
Some lines of text in Excel field do not wrap text. Please help. Michele Excel Discussion (Misc queries) 0 January 5th 06 07:27 PM


All times are GMT +1. The time now is 01:10 PM.

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"