Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 542
Default Splitting data in a cell

Hi all

I have a list of data in a column (see below) which I need to split the last
10 characters (date) from the rest. I can't use text to columns as no
characted separates the data from the date, and I can't use fixed width as
the data before the data varies from 2-4 charaters. Any ideas?

SES106/07/2010
YG07/08/2010
TB23/04/2010
MD15/09/2010
NBH12/08/2010
DCL14/03/2010
TTE25/07/2010
EC13/11/2010
MG27/03/2010
SY08/04/2010
NI24/07/2010



--
James.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Splitting data in a cell

Are you using Excel or Word? If Excel, try this.

Your data from below should be in column A, rows 1-the end.
Cell C1 =right(a1,10)
cell b1 =left(a1,len(a1)-len(c1))

That will split the cell into column B and C. Column C will hold the last
10 characters, column B will hold the rest.

"James" wrote:

Hi all

I have a list of data in a column (see below) which I need to split the last
10 characters (date) from the rest. I can't use text to columns as no
characted separates the data from the date, and I can't use fixed width as
the data before the data varies from 2-4 charaters. Any ideas?

SES106/07/2010
YG07/08/2010
TB23/04/2010
MD15/09/2010
NBH12/08/2010
DCL14/03/2010
TTE25/07/2010
EC13/11/2010
MG27/03/2010
SY08/04/2010
NI24/07/2010



--
James.

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
Splitting data in a cell James Excel Discussion (Misc queries) 2 February 24th 10 05:34 PM
Splitting Data in Cell [email protected] Excel Worksheet Functions 5 June 17th 09 01:09 PM
Splitting data in a cell JamesBurrows Excel Discussion (Misc queries) 9 June 13th 06 05:06 PM
Splitting Cell Data Zip Codes Excel Discussion (Misc queries) 5 June 2nd 05 04:52 AM
Splitting Data in a Cell Newbie1092 Excel Worksheet Functions 3 May 10th 05 05:48 PM


All times are GMT +1. The time now is 04:31 PM.

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

About Us

"It's about Microsoft Excel"