Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Move part of cell only - help please
It should not be too hard but I am unable to find a solution.
I want to take a specific word from a cell and place it in another. I have in the cells with addresses eg"1955 BOUNDRY ROAD RD 3 AUCKLAND" and I wish to split it to three cells, "1955 BOUNDRY ROAD" "RD 3" "AUCKLAND". If I choose to use the text to colums it puts the data in a seperate cell at each space. Please help |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Move part of cell only - help please
In cell A1 enter:
1955 BOUNDRY ROAD RD 3 AUCKLAND In cell A2 enter: =LEFT(A1,17) In cell A3 enter: =MID(A1,19,4) In cell A4 enter: =RIGHT(A1,8) -- Gary''s Student - gsnu200775 "Jude" wrote: It should not be too hard but I am unable to find a solution. I want to take a specific word from a cell and place it in another. I have in the cells with addresses eg"1955 BOUNDRY ROAD RD 3 AUCKLAND" and I wish to split it to three cells, "1955 BOUNDRY ROAD" "RD 3" "AUCKLAND". If I choose to use the text to colums it puts the data in a seperate cell at each space. Please help |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Move part of cell only - help please
On Mon, 24 Mar 2008 16:08:01 -0700, Jude
wrote: It should not be too hard but I am unable to find a solution. I want to take a specific word from a cell and place it in another. I have in the cells with addresses eg"1955 BOUNDRY ROAD RD 3 AUCKLAND" and I wish to split it to three cells, "1955 BOUNDRY ROAD" "RD 3" "AUCKLAND". If I choose to use the text to colums it puts the data in a seperate cell at each space. Please help What "rules" do you want to use to split up the cell? Clearly, as you have written, a "rule" that says to split on every space will not work. I'm not familiar with NZ addressing formats, but if you could define unambiguous rules for splitting your data, I or someone will surely be able to show you how to do it in Excel. --ron |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Move part of cell only - help please
Which would work if all cells had the same information, but it is all
different :-) Thanks for the quick responce "Gary''s Student" wrote: In cell A1 enter: 1955 BOUNDRY ROAD RD 3 AUCKLAND In cell A2 enter: =LEFT(A1,17) In cell A3 enter: =MID(A1,19,4) In cell A4 enter: =RIGHT(A1,8) -- Gary''s Student - gsnu200775 "Jude" wrote: It should not be too hard but I am unable to find a solution. I want to take a specific word from a cell and place it in another. I have in the cells with addresses eg"1955 BOUNDRY ROAD RD 3 AUCKLAND" and I wish to split it to three cells, "1955 BOUNDRY ROAD" "RD 3" "AUCKLAND". If I choose to use the text to colums it puts the data in a seperate cell at each space. Please help |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Move part of cell only - help please
Your address example is six "words" separated by a single space. Therefore
we must find the location of the third and fifth spaces to split the words correctly: In cell A1 enter: 1955 BOUNDRY ROAD RD 3 AUCKLAND In cell A2 enter: =FIND("^",SUBSTITUTE(A1," ","^",3)) the location of the third space In cell A3 enter: =FIND("^",SUBSTITUTE(A1," ","^",5)) the location of the fifth space In cell A4 enter: =LEFT(A1,A2-1) In cell A5 enter: =MID(A1,A2+1,A3-A2) In cell A6 enter: =RIGHT(A1,LEN(A1)-A3) This will show as: 1955 BOUNDRY ROAD RD 3 AUCKLAND 18 23 1955 BOUNDRY ROAD RD 3 AUCKLAND -- Gary''s Student - gsnu200775 "Jude" wrote: Which would work if all cells had the same information, but it is all different :-) Thanks for the quick responce "Gary''s Student" wrote: In cell A1 enter: 1955 BOUNDRY ROAD RD 3 AUCKLAND In cell A2 enter: =LEFT(A1,17) In cell A3 enter: =MID(A1,19,4) In cell A4 enter: =RIGHT(A1,8) -- Gary''s Student - gsnu200775 "Jude" wrote: It should not be too hard but I am unable to find a solution. I want to take a specific word from a cell and place it in another. I have in the cells with addresses eg"1955 BOUNDRY ROAD RD 3 AUCKLAND" and I wish to split it to three cells, "1955 BOUNDRY ROAD" "RD 3" "AUCKLAND". If I choose to use the text to colums it puts the data in a seperate cell at each space. Please help |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Move part of cell only - help please
Select the cell first and then go to Data| text to column| , choose
Fixed Width option... On Mar 25, 4:08*am, Jude wrote: It should not be too hard but I am unable to find a solution. * I want to take a specific word from a cell and place it in another. * I have in the cells *with addresses eg"1955 BOUNDRY ROAD RD 3 AUCKLAND" and I wish to split it to three cells, "1955 BOUNDRY ROAD" *"RD 3" *"AUCKLAND". * If I choose to use the text to colums it puts the data in a seperate cell at each space. Please help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
macro to move part of cell contents to another cell | Excel Discussion (Misc queries) | |||
Display contents of cell in another cell as part of text string? | New Users to Excel | |||
Using macro to copy a part of a cell content to next cell | Excel Discussion (Misc queries) | |||
Can you make a cell with a diagonal, so that you can edit the upper and lower part of the cell? | New Users to Excel | |||
Checkbox not part of cell. (???) Cells can move "underneath". (!!!) | Excel Discussion (Misc queries) |