ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Splitting Text (https://www.excelbanter.com/excel-discussion-misc-queries/255136-splitting-text.html)

jazzzbo

Splitting Text
 
I have a worksheet with data split by a "/" eg. BARRISTER/F. GREY
I want to split the data into two adjacent columns
eg "BARRISTER", "F. GREY"

I have tried =LEFT(A1,FIND("/",A1)-1) for the first field, which works,
and =MID(A1,FIND("/",A1,99)for the second, which doesn't, of course (I
understand why).

What should I do,instead, please?

Jim Berglund

Gary Keramidas[_3_]

Splitting Text
 
close
=MID(A1,FIND("/",A1,1)+1,99)

--


Gary Keramidas
Excel 2003


"jazzzbo" wrote in message
...
I have a worksheet with data split by a "/" eg. BARRISTER/F. GREY
I want to split the data into two adjacent columns
eg "BARRISTER", "F. GREY"

I have tried =LEFT(A1,FIND("/",A1)-1) for the first field, which works,
and =MID(A1,FIND("/",A1,99)for the second, which doesn't, of course (I
understand why).

What should I do,instead, please?

Jim Berglund



David Biddulph[_2_]

Splitting Text
 
Data/ text to columns
Delimited /
--
David Biddulph

jazzzbo wrote:
I have a worksheet with data split by a "/" eg. BARRISTER/F. GREY
I want to split the data into two adjacent columns
eg "BARRISTER", "F. GREY"

I have tried =LEFT(A1,FIND("/",A1)-1) for the first field, which
works, and =MID(A1,FIND("/",A1,99)for the second, which doesn't, of
course (I understand why).

What should I do,instead, please?

Jim Berglund





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

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