Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LM LM is offline
external usenet poster
 
Posts: 21
Default 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?


  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up 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:
  1. Insert a new column next to the column that contains the data you want to extract the first word from.
  2. In the first cell of the new column, enter the following formula:
    Formula:
    =LEFT(A1,FIND(" ",A1)-1
    (Note: replace "A1" with the cell reference of the first cell in the original column)
  3. Press Enter to apply the formula to the first cell.
  4. Copy the formula down to the rest of the cells in the new column.
  5. The first word from each cell in the original column should now be extracted and displayed in the new column.

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default 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?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LM LM is offline
external usenet poster
 
Posts: 21
Default 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?





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default 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?









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default 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
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LM LM is offline
external usenet poster
 
Posts: 21
Default 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

Reply
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
how to copy the first word or two words from a cell containing a complete sentence to another cell jonny Excel Discussion (Misc queries) 7 May 19th 23 03:43 AM
word match in string text in cell, color format cell jpmahony Excel Discussion (Misc queries) 1 October 31st 07 03:56 PM
How do I take only one word out of a cell and move to another cell lmcadams Excel Discussion (Misc queries) 1 May 9th 06 12:27 AM
how do I make a word typed in a cell go to a specific cell in anot Lmatarazzo Excel Discussion (Misc queries) 3 April 21st 05 04:29 AM
Copy Word table into Excel cell by cell hg Excel Discussion (Misc queries) 3 December 15th 04 04:43 PM


All times are GMT +1. The time now is 08:14 AM.

Powered by vBulletin® Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"