Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a list of data and I want to remove the first word of each cell in one
column and put it in a separate column. Is there a formula for this? |
#2
![]() |
|||
|
|||
![]()
Yes, there is a formula for this. You can use the LEFT and FIND functions in Excel to extract the first word from a cell and move it to a new cell. Here are the steps:
This formula works by using the FIND function to locate the first space in the cell, and then using the LEFT function to extract all the characters to the left of that space. The "-1" at the end of the formula is to exclude the space itself from the extracted text.
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=LEFT(A1,FIND(" ",A1)-1)
-- __________________________________ HTH Bob "LM" wrote in message ... I have a list of data and I want to remove the first word of each cell in one column and put it in a separate column. Is there a formula for this? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Bob, but that only copies the word. I want to cut it out of the cell
rather than copy it. Any other suggestions? Lyn. "Bob Phillips" wrote: =LEFT(A1,FIND(" ",A1)-1) -- __________________________________ HTH Bob "LM" wrote in message ... I have a list of data and I want to remove the first word of each cell in one column and put it in a separate column. Is there a formula for this? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can't do that with a formula, you would need VBA, macro code.
-- __________________________________ HTH Bob "LM" wrote in message ... Thanks Bob, but that only copies the word. I want to cut it out of the cell rather than copy it. Any other suggestions? Lyn. "Bob Phillips" wrote: =LEFT(A1,FIND(" ",A1)-1) -- __________________________________ HTH Bob "LM" wrote in message ... I have a list of data and I want to remove the first word of each cell in one column and put it in a separate column. Is there a formula for this? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Can you use two formula cells?
Use Bob's formula to get the first word. Then use this formula to get the rest of the words. =MID(A1,FIND(" ",A1)+1,LEN(A1)) If you wanted, you could convert both these columns of formulas to values (edit|copy, edit|Paste special|values) and delete the original data. LM wrote: Thanks Bob, but that only copies the word. I want to cut it out of the cell rather than copy it. Any other suggestions? Lyn. "Bob Phillips" wrote: =LEFT(A1,FIND(" ",A1)-1) -- __________________________________ HTH Bob "LM" wrote in message ... I have a list of data and I want to remove the first word of each cell in one column and put it in a separate column. Is there a formula for this? -- Dave Peterson |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Just brilliant. That worked a treat. You have just saved me days of work -
I thought I would have to do it manually. Thank you so much to both of you. "Dave Peterson" wrote: Can you use two formula cells? Use Bob's formula to get the first word. Then use this formula to get the rest of the words. =MID(A1,FIND(" ",A1)+1,LEN(A1)) If you wanted, you could convert both these columns of formulas to values (edit|copy, edit|Paste special|values) and delete the original data. LM wrote: Thanks Bob, but that only copies the word. I want to cut it out of the cell rather than copy it. Any other suggestions? Lyn. "Bob Phillips" wrote: =LEFT(A1,FIND(" ",A1)-1) -- __________________________________ HTH Bob "LM" wrote in message ... I have a list of data and I want to remove the first word of each cell in one column and put it in a separate column. Is there a formula for this? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to copy the first word or two words from a cell containing a complete sentence to another cell | Excel Discussion (Misc queries) | |||
word match in string text in cell, color format cell | Excel Discussion (Misc queries) | |||
How do I take only one word out of a cell and move to another cell | Excel Discussion (Misc queries) | |||
how do I make a word typed in a cell go to a specific cell in anot | Excel Discussion (Misc queries) | |||
Copy Word table into Excel cell by cell | Excel Discussion (Misc queries) |