ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   splitting my cell (https://www.excelbanter.com/excel-discussion-misc-queries/195764-splitting-my-cell.html)

rodchar

splitting my cell
 
hey all
i have a cell like the following:
1|2

can someone please show me how to put the 1 and the 2 in 2 separate columns?

thanks,
rodchar

Max

splitting my cell
 
Try Data Text to Columns Delimited (type the separator*: |)
*Press Shift + Backslash key
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,200 Files:354 Subscribers:53
xdemechanik
---
"rodchar" wrote:
hey all
i have a cell like the following:
1|2

can someone please show me how to put the 1 and the 2 in 2 separate columns?

thanks,
rodchar


rodchar

splitting my cell
 
that worked great thanks, by the way, is there a formula that can do the same
thing?

"Max" wrote:

Try Data Text to Columns Delimited (type the separator*: |)
*Press Shift + Backslash key
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,200 Files:354 Subscribers:53
xdemechanik
---
"rodchar" wrote:
hey all
i have a cell like the following:
1|2

can someone please show me how to put the 1 and the 2 in 2 separate columns?

thanks,
rodchar


David Biddulph[_2_]

splitting my cell
 
Data/ Text to columns/ delimited, and specify your | character as the
delimiter.
--
David Biddulph

"rodchar" wrote in message
...
hey all
i have a cell like the following:
1|2

can someone please show me how to put the 1 and the 2 in 2 separate
columns?

thanks,
rodchar




David Biddulph[_2_]

splitting my cell
 
=LEFT(A1,FIND("|",A1)-1)
=RIGHT(A1,LEN(A1)-FIND("|",A1))

You can simplify the formulae if you know the number of characters either
side of the | character.
--
David Biddulph

"rodchar" wrote in message
...
that worked great thanks, by the way, is there a formula that can do the
same
thing?

"Max" wrote:

Try Data Text to Columns Delimited (type the separator*: |)
*Press Shift + Backslash key
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,200 Files:354 Subscribers:53
xdemechanik
---
"rodchar" wrote:
hey all
i have a cell like the following:
1|2

can someone please show me how to put the 1 and the 2 in 2 separate
columns?

thanks,
rodchar




Gord Dibben

splitting my cell
 
With 1|2 in A1

B1 =Left(A1)

C1 =Right(A1)


Gord Dibben MS Excel MVP


On Tue, 22 Jul 2008 06:11:00 -0700, rodchar
wrote:

that worked great thanks, by the way, is there a formula that can do the same
thing?

"Max" wrote:

Try Data Text to Columns Delimited (type the separator*: |)
*Press Shift + Backslash key
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,200 Files:354 Subscribers:53
xdemechanik
---
"rodchar" wrote:
hey all
i have a cell like the following:
1|2

can someone please show me how to put the 1 and the 2 in 2 separate columns?

thanks,
rodchar




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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com