LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default splitting data in a column

I have an excel spreadsheets with the following columns:
Product Equipment
6OL 1702/1701
6OL/LHH 1716
LHH/6OL/SOL 1720
SOL 1701 To 1716

I need to convert it as follow:
SOL 1701 To 1716
translate to
SOL 1701
SOL 1702
.......
SOL 1716

LHH/6OL/SOL 1720
map to
LHH 1720
6OL 1720
SOL 1720
etc.
I was advised to do the following thing (thanks very much to Tim Williams):
Create a couple of generic functions, one to split "/"-separated cell
values, the other to split cells values containing "TO". Both would
return arrays: in the second case (X to Y) it would be an array of all
numbers from the first to the second number.

Once you have these you can parse each pair of cells into two arrays
and list all combinations of the two arrays. If you only want
distinct combinations then just sort the list and extract the unique
pairs.

But, the problem is I don't know how to use all this. I answered about it
but the topic was sunk with the old date.

Could anybody advise how to implement those splittings?

Thanks



 
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 from one column into two mariekek5 Excel Discussion (Misc queries) 2 July 9th 09 02:06 PM
Splitting single column data into two loopkid1 Excel Worksheet Functions 3 January 31st 06 05:24 PM
Splitting Column Data into 2 fields Kevin Excel Worksheet Functions 4 January 28th 06 07:03 AM
splitting data from 1 column into multilple? Dan B Excel Worksheet Functions 6 January 7th 06 03:21 AM
splitting 1 column of data into multiple columns CiceroCF Setting up and Configuration of Excel 1 March 25th 05 01:50 AM


All times are GMT +1. The time now is 06:42 AM.

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"