Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Spliting dimensions down


I have a lot of carton dimensions that are always presented in the same
manner and would like to be able to split the individual dimensions
into seperate columns.
The format is always: Length Width Height
Presentation of data is always ???x???x??? or ??x??x??? (ie two or
three chrs seperated by the letter X)
If the full string is stored in column A I would like B to display
Length, C the Width and D the Height.
I find it easy to use LEFT for Length but struggling with Width and
Height which I'm sure are easy, just can't get my head around it.

Thanks
Phil




--
PSM
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Spliting dimensions down

On Mon, 20 Jul 2009 10:36:19 +0100, PSM
wrote:


I have a lot of carton dimensions that are always presented in the same
manner and would like to be able to split the individual dimensions
into seperate columns.
The format is always: Length Width Height
Presentation of data is always ???x???x??? or ??x??x??? (ie two or
three chrs seperated by the letter X)
If the full string is stored in column A I would like B to display
Length, C the Width and D the Height.
I find it easy to use LEFT for Length but struggling with Width and
Height which I'm sure are easy, just can't get my head around it.

Thanks
Phil


You can do it with formulas if you want:

B1: =LEFT(A1,FIND("x",A1)-1)

C1:
=MID(A1,FIND("x",A1)+1,FIND(CHAR(1),
SUBSTITUTE(A1,"x",CHAR(1),2))-FIND("x",A1)-1)

D1:
=MID(A1,FIND(CHAR(1),SUBSTITUTE(A1,"x",CHAR(1),2)) +1,99)

However, it might be easier to first copy your original data to column B; and
then select
Data/Text-to-Columns
Delimited
Next
Other-- x
Finish


--ron
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Spliting dimensions down


Thanks Ron




--
PSM
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Spliting dimensions down

On Mon, 20 Jul 2009 14:46:16 +0100, PSM
wrote:


Thanks Ron


You're welcome. Glad to help.
--ron
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
Spliting a cell israel Excel Discussion (Misc queries) 3 April 21st 09 05:27 PM
Excel Spliting Cells Cassidy Excel Discussion (Misc queries) 9 January 12th 07 06:40 PM
Spliting name Brian Excel Discussion (Misc queries) 3 November 21st 06 09:35 PM
Spliting data blander Excel Discussion (Misc queries) 4 July 26th 06 05:44 PM
help with spliting data cells pcavalcanto New Users to Excel 1 March 7th 06 03:24 AM


All times are GMT +1. The time now is 06:03 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"