Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JudithJubilee
 
Posts: n/a
Default Un - Concatenate?

Hello there,

I have a large list of police records and one of the fields contains their,
ID Code, Area and Rank seperated by spaces. I know there is a LEN and FIND
fuction but how do I conbine these??

Thankyou in advance

Judith
  #2   Report Post  
Kassie
 
Posts: n/a
Default

Hi

Why don't you insert the necessary columns (2 in this case), then do
Data|Text to Columns, select delimited, select Space (and unselect Tab) to
split it into columns

"JudithJubilee" wrote:

Hello there,

I have a large list of police records and one of the fields contains their,
ID Code, Area and Rank seperated by spaces. I know there is a LEN and FIND
fuction but how do I conbine these??

Thankyou in advance

Judith

  #3   Report Post  
Alex Delamain
 
Posts: n/a
Default


find will enable you to get the location of the blank spaces in the text
string, which can then be used with =left, =right, =mid and =len. The
resulting formulae can be a bit cumbersome but if the ID and area code
are always the same number of characters they can be simplified.

These should work for variable lengths:

Cell A1 is: 1531 dorset constable
=LEFT(A1,FIND(" ",A1)) returns 1531
=MID(A1,FIND(" ",A1)+1,FIND(" ",A1,FIND(" ",A1)+1)-FIND(" ",A1))
returns Dorset
=RIGHT(A1,LEN(A1)-FIND(" ",A1,FIND(" ",A1)+1)) returns Constable

Hope this helps


--
Alex Delamain
------------------------------------------------------------------------
Alex Delamain's Profile: http://www.excelforum.com/member.php...o&userid=11273
View this thread: http://www.excelforum.com/showthread...hreadid=386055

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
Using Concatenate inside a vlookup bmclean Excel Worksheet Functions 3 July 5th 05 09:29 PM
Concatenate cells in Pocket Excel jrd05719 Excel Discussion (Misc queries) 0 June 16th 05 05:05 PM
Concatenate Function will not work Chuck W Excel Discussion (Misc queries) 4 January 31st 05 11:41 PM
Concatenate cells without specifying/writing cell address individually Hari Excel Discussion (Misc queries) 4 January 3rd 05 06:05 PM
Concatenate two halves of a phone number Harry Macdivitt Excel Worksheet Functions 1 November 19th 04 04:11 PM


All times are GMT +1. The time now is 04:35 AM.

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"