![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2004
Posts: 3
|
I can't find the beginner's section, so I post here. Apologies.
Yes, I have searched and searched to no avail--or at least I am not aware of having found any answers for the following, and I use Windows 2000 Pro and MS Excel 2000 (9.0.2720). Is it possible to delete specific information from each of 12,000+ rows in a column other than doing this manually, line-by-line? I have a LONG list in Excel of registered voters which contains columns with Names, Permanent Addresses, and Birth Dates. In each row under the Permanent Address column, the abbreviation "PERM ADDR:" pre-fixes each voter's address. I see that I could delete each "PERM ADDR:" prefix manually, but this would take countless hours to perform. I am wanting the computer to do this work for me in a very few point-and-click moves. Also, why on Earth is the header length in Excel limited to 255 characters? Is there any way around this deficiency? Many thanks, T2E |
|
|
|
|
|
#2 |
|
Join Date: Dec 2003
Location: Brampton
Posts: 3,174
|
Insert a column after the address
In the first cell add the following formula =mid(Cell Address,11,60) Copy and Paste the data down the lenght of the entire column, or just filldown. Copy the new values and PasteSpecial... Values over the original column and then delete the formula column. Hope this helps. |
|
|
|
|
|
#3 |
|
Join Date: Mar 2004
Posts: 3
|
It helps very much, Cbrine: thank you so much! I'll attempt to effect the operation you describe and report back later, hopefully with a success story.
Sincerely T2E |
|
|
|
|
|
#4 |
|
Join Date: Mar 2004
Posts: 3
|
Cbrine,
I couldn't get the formula method to work. I'm not saying it won't work, only that I was unable to work it "You can get rid of it in one step by doing a global replace. 1) Click any single cell on the spreadsheet. 2) On the menu bar, go to Edit/Replace. 3) In the Find what box, enter "PERM ADDR:" (Do not use the quote marks. Also, if there is a trailing space after the colon that you also want to remove, make sure to include it here.) 4) Make sure that the Replace with box is completely empty. 5) Click Replace All. That string is now removed from the entire spreadsheet." |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|