Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Deleting text in a cell

I have a 600 row worksheet were I need to remove the text to the left of the
first space in a cell, all are different lengths. Is there a formula for
that?
For example:
September 8464-005 pin
July 14386 brg
May 5028 washer

In the above I would need to remove the months from each cell. The only
commonality would be the space after the month. End result would be:
8464-005 pin
14386 brg
5028 washer

Any help is greatly appreciated!

Lee

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Deleting text in a cell

hi
you could use a fomula in a helper column.
assuming the date in question is in column a.....

=MID(A2,LEN(LEFT(A2,FIND(" ",A2,1)))+1,999)

copy down as far as needed you could then copy the helper column and paste
special values over the old data.

regards
FSt1

"Gemi" wrote:

I have a 600 row worksheet were I need to remove the text to the left of the
first space in a cell, all are different lengths. Is there a formula for
that?
For example:
September 8464-005 pin
July 14386 brg
May 5028 washer

In the above I would need to remove the months from each cell. The only
commonality would be the space after the month. End result would be:
8464-005 pin
14386 brg
5028 washer

Any help is greatly appreciated!

Lee

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Deleting text in a cell

A little shorter....

=MID(A1,FIND(" ",A1&" ")+1,99)

where the 99 just has to be a number that is larger than the maximum length
of any of the text in the cell (99 was my guess at that number).

--
Rick (MVP - Excel)


"FSt1" wrote in message
...
hi
you could use a fomula in a helper column.
assuming the date in question is in column a.....

=MID(A2,LEN(LEFT(A2,FIND(" ",A2,1)))+1,999)

copy down as far as needed you could then copy the helper column and
paste
special values over the old data.

regards
FSt1

"Gemi" wrote:

I have a 600 row worksheet were I need to remove the text to the left of
the
first space in a cell, all are different lengths. Is there a formula for
that?
For example:
September 8464-005 pin
July 14386 brg
May 5028 washer

In the above I would need to remove the months from each cell. The only
commonality would be the space after the month. End result would be:
8464-005 pin
14386 brg
5028 washer

Any help is greatly appreciated!

Lee


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Deleting text in a cell

thanks for the tip
regards
FSt1

"Rick Rothstein" wrote:

A little shorter....

=MID(A1,FIND(" ",A1&" ")+1,99)

where the 99 just has to be a number that is larger than the maximum length
of any of the text in the cell (99 was my guess at that number).

--
Rick (MVP - Excel)


"FSt1" wrote in message
...
hi
you could use a fomula in a helper column.
assuming the date in question is in column a.....

=MID(A2,LEN(LEFT(A2,FIND(" ",A2,1)))+1,999)

copy down as far as needed you could then copy the helper column and
paste
special values over the old data.

regards
FSt1

"Gemi" wrote:

I have a 600 row worksheet were I need to remove the text to the left of
the
first space in a cell, all are different lengths. Is there a formula for
that?
For example:
September 8464-005 pin
July 14386 brg
May 5028 washer

In the above I would need to remove the months from each cell. The only
commonality would be the space after the month. End result would be:
8464-005 pin
14386 brg
5028 washer

Any help is greatly appreciated!

Lee



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
Deleting Text Felix New Users to Excel 1 January 20th 09 10:14 AM
deleting space in cell behind text RickJB Excel Discussion (Misc queries) 1 May 15th 08 12:53 PM
Deleting some text from a cell Tom Petersen Excel Worksheet Functions 5 March 19th 07 05:22 PM
Deleting cell data without deleting formula Tom Hall Excel Discussion (Misc queries) 4 October 29th 06 04:07 PM
how prevent formula in cell from deleting when deleting value???? sh-boom New Users to Excel 1 September 30th 05 06:12 PM


All times are GMT +1. The time now is 12:34 PM.

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

About Us

"It's about Microsoft Excel"