How do I truncate a text field in Excel?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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".
 
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)
 
Depending upon the elements.................

Data>Text to Columns>Delimited by>Other.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top