Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / December 2005

Tip: Looking for answers? Try searching our database.

Delete A Word That Exceeds X Number Of Characters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brazen234 - 31 Dec 2005 03:05 GMT
Search didn't turn up anything, so help would be appreciated.

Simple as the title sounds. I have thousands of words in column A (one
word per cell) and I would like to delete all words 20 letters or
greater.
Thanks!

Signature

brazen234

CLR - 31 Dec 2005 03:14 GMT
=LEN(A1)  in cell B1 will return the number of characters in cell
A1......copy the formula down and do Copy > PasteSpecial > Values on column
B to delete the formulas.....then sort on that column and delete all rows of
20 characters or more.....

Vaya con Dios,
Chuck, CABGx3

> Search didn't turn up anything, so help would be appreciated.
>
[quoted text clipped - 8 lines]
> brazen234's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=9952
> View this thread: http://www.excelforum.com/showthread.php?threadid=497103
Peo Sjoblom - 31 Dec 2005 03:21 GMT
One quick and dirty solution, assume the words start in A2 with a header in
A1, in B2 put

=LEN(A2)<20

press enter, now select B2 again, then move the cursor with the mouse to the
lower right corner of B2 and when it changes to a thin cross double click
with the mouse to copy down the formula, now select A1 and B2 and do
data>filter>autofilter, filter on TRUE in the help column. select A and B
and press F5, click special and select visible cells only, then copy and
paste somewhere else, finally remove filter (data>filter and uncheck
autofilter)  then delete the help column or even the original column A
Signature

Regards,

Peo Sjoblom

(No private emails please)

> Search didn't turn up anything, so help would be appreciated.
>
> Simple as the title sounds. I have thousands of words in column A (one
> word per cell) and I would like to delete all words 20 letters or
> greater.
> Thanks!
Harlan Grove - 31 Dec 2005 16:37 GMT
"brazen234" <brazen234.20vwim_1135998604.1482@excelforum-nospam.com>
wrote...
>Search didn't turn up anything, so help would be appreciated.
>
>Simple as the title sounds. I have thousands of words in column A (one
>word per cell) and I would like to delete all words 20 letters or
>greater.

Another alternative: select the range, run the menu command Edit > Replace,
finding ????????????????????* and replacing with nothing. Then with the
range still selected, run Data > Filter > Auto Filter, selecting blanks,
then run Edit > Delete. No formulas needed.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.