Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
supercloudbug
 
Posts: n/a
Default Any formula to shorten sentence to a specific length

Hi,

Any one can teach me if there's any formula, macro or add-in to shorten
sentences to a specific length?
  #2   Report Post  
Rowan
 
Posts: n/a
Default

I probably need more information to determine exactly what you requre but
have a look at this anyway.

If you have the text "This is my sentence" in cell A1 then
=Left(A1,10) will return "This is my".

Hope this helps
Rowan

"supercloudbug" wrote:

Hi,

Any one can teach me if there's any formula, macro or add-in to shorten
sentences to a specific length?

  #3   Report Post  
Niek Otten
 
Posts: n/a
Default

=LEFT(A1,20)
Gives you the first 20 characters of A1.

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"supercloudbug" wrote in message
...
Hi,

Any one can teach me if there's any formula, macro or add-in to shorten
sentences to a specific length?



  #4   Report Post  
supercloudbug
 
Posts: n/a
Default

Hi Rowan,

Thanks for your help.
Do u think its possible to end the shortened sentence with a "-"?

"Rowan" wrote:

I probably need more information to determine exactly what you requre but
have a look at this anyway.

If you have the text "This is my sentence" in cell A1 then
=Left(A1,10) will return "This is my".

Hope this helps
Rowan

"supercloudbug" wrote:

Hi,

Any one can teach me if there's any formula, macro or add-in to shorten
sentences to a specific length?

  #5   Report Post  
Duke Carey
 
Posts: n/a
Default

simply append

&" - "

to the end of Roowan's formula



"supercloudbug" wrote:

Hi Rowan,

Thanks for your help.
Do u think its possible to end the shortened sentence with a "-"?

"Rowan" wrote:

I probably need more information to determine exactly what you requre but
have a look at this anyway.

If you have the text "This is my sentence" in cell A1 then
=Left(A1,10) will return "This is my".

Hope this helps
Rowan

"supercloudbug" wrote:

Hi,

Any one can teach me if there's any formula, macro or add-in to shorten
sentences to a specific length?



  #6   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Thu, 14 Apr 2005 03:11:02 -0700, "supercloudbug"
wrote:

Hi Rowan,

Thanks for your help.
Do u think its possible to end the shortened sentence with a "-"?


=LEFT(A1,20)&IF(LEN(A1)20,"-","")




--ron
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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
Shorten sumproduct formula Andre Croteau Excel Discussion (Misc queries) 1 December 11th 04 10:30 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 06:31 AM.

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"