![]() |
Take first word out of cell and put it in a new cell
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? |
Answer: Take first word out of cell and put it in a new cell
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. |
Take first word out of cell and put it in a new cell
=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? |
Take first word out of cell and put it in a new cell
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? |
Take first word out of cell and put it in a new cell
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? |
Take first word out of cell and put it in a new cell
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 |
Take first word out of cell and put it in a new cell
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 |
All times are GMT +1. The time now is 06:35 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com