Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Truncate words
Hi,
Does anyone know if there's a formula to not just count words, but to trim the number of words in a cell to a certain number (say 5)? So, if the previous sentence were entered, I could get back "does anyone know if there's", and the rest would be truncated. Any help is greatly appreciated! -Jon R |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Truncate words
=LEFT(A1,FIND("~",SUBSTITUTE(A1," ","~",5))-1)
-- HTH Bob Phillips (remove nothere from email address if mailing direct) wrote in message ups.com... Hi, Does anyone know if there's a formula to not just count words, but to trim the number of words in a cell to a certain number (say 5)? So, if the previous sentence were entered, I could get back "does anyone know if there's", and the rest would be truncated. Any help is greatly appreciated! -Jon R |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Truncate words
thanks Bob!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
cannot get color in cells and words | Setting up and Configuration of Excel | |||
In Excel, How do i add Words together. | Excel Worksheet Functions | |||
triadic combinations of words | Excel Worksheet Functions | |||
Spell Checking - Special Words Not Picked Up by Excel | Excel Discussion (Misc queries) | |||
Creating a Microsoft Words document from an existing Excel spreads | New Users to Excel |