Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
splitting data from one column into two | Excel Discussion (Misc queries) | |||
Splitting single column data into two | Excel Worksheet Functions | |||
Splitting Column Data into 2 fields | Excel Worksheet Functions | |||
splitting data from 1 column into multilple? | Excel Worksheet Functions | |||
splitting 1 column of data into multiple columns | Setting up and Configuration of Excel |