Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 175
Default Delete part of a cell

I have a spreadsheet with 10,000 rows with this information;
Rows look like this,

R1 Ontime: 100.00%
R2 711 *OEM1676EN
R3 Tot
R4 Ontime: 92.00%
R5 129 D317002

I need to find all rows that contain "Ontime:" and remove the word "Ontime:"
to leave the percentage in that cell only. This is all in one column. Or, can
I just copy the percentage part to another cell?
Please help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Delete part of a cell

Data TextToColumns using a colon as the delimiter, will place the
percentages in the next column to the right...........if that's a help

Vaya con Dios,
Chuck, CABGx3



"Francis" wrote:

I have a spreadsheet with 10,000 rows with this information;
Rows look like this,

R1 Ontime: 100.00%
R2 711 *OEM1676EN
R3 Tot
R4 Ontime: 92.00%
R5 129 D317002

I need to find all rows that contain "Ontime:" and remove the word "Ontime:"
to leave the percentage in that cell only. This is all in one column. Or, can
I just copy the percentage part to another cell?
Please help

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Delete part of a cell

Select the cells and then:

Edit Replace
replacewhat: Ontime:
leave replacewith blank
--
Gary''s Student - gsnu200767


"Francis" wrote:

I have a spreadsheet with 10,000 rows with this information;
Rows look like this,

R1 Ontime: 100.00%
R2 711 *OEM1676EN
R3 Tot
R4 Ontime: 92.00%
R5 129 D317002

I need to find all rows that contain "Ontime:" and remove the word "Ontime:"
to leave the percentage in that cell only. This is all in one column. Or, can
I just copy the percentage part to another cell?
Please help

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Delete part of a cell

You may like this even better
Sub replacewords()
Set rng = Range("d8:d12")
rng.Replace "Ontime:", ""
For Each c In rng
c.Value = Right(c, Len(c) - 3)
Next
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Francis" wrote in message
...
I have a spreadsheet with 10,000 rows with this information;
Rows look like this,

R1 Ontime: 100.00%
R2 711 *OEM1676EN
R3 Tot
R4 Ontime: 92.00%
R5 129 D317002

I need to find all rows that contain "Ontime:" and remove the word
"Ontime:"
to leave the percentage in that cell only. This is all in one column. Or,
can
I just copy the percentage part to another cell?
Please help




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 175
Default Delete part of a cell

that worked, thank you very much

"Gary''s Student" wrote:

Select the cells and then:

Edit Replace
replacewhat: Ontime:
leave replacewith blank
--
Gary''s Student - gsnu200767


"Francis" wrote:

I have a spreadsheet with 10,000 rows with this information;
Rows look like this,

R1 Ontime: 100.00%
R2 711 *OEM1676EN
R3 Tot
R4 Ontime: 92.00%
R5 129 D317002

I need to find all rows that contain "Ontime:" and remove the word "Ontime:"
to leave the percentage in that cell only. This is all in one column. Or, can
I just copy the percentage part to another cell?
Please help

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
Why does it take so long to delete a part of table? Eric Excel Discussion (Misc queries) 2 October 27th 07 02:04 PM
delete part of text from a cell andresg1975 Excel Worksheet Functions 4 October 20th 06 05:04 PM
How do I delete only part of the data in a row of cells? chelldog Excel Worksheet Functions 2 October 13th 06 06:20 PM
How do I delete part of a text string in every cell it appears in Chacky Excel Discussion (Misc queries) 3 December 9th 05 07:06 PM
Delete part of a formula dee Excel Discussion (Misc queries) 6 April 28th 05 01:28 AM


All times are GMT +1. The time now is 10:01 PM.

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

About Us

"It's about Microsoft Excel"