#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 71
Default Truncate

I've never used this function before and frankly read all the instructions
and still dont understand it. I have a customer that doesn't want more than
200 characters in his field, presently there are many cells with over the
200. I was told by him to do this function, as a customer I didnt want to
keep asking anymore questions.

Is there a way someone can explain "as if Im 5" how to do this funcition?
Thank you so much
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Truncate

=LEFT(A1,200)
--
David Biddulph

"Elizabeth" wrote in message
...
I've never used this function before and frankly read all the instructions
and still dont understand it. I have a customer that doesn't want more
than
200 characters in his field, presently there are many cells with over the
200. I was told by him to do this function, as a customer I didnt want to
keep asking anymore questions.

Is there a way someone can explain "as if Im 5" how to do this funcition?
Thank you so much



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Truncate

With text in A1, in another cell enter:

=LEFT(A1,200)

You can also use a macro to truncate "in place"
--
Gary''s Student - gsnu200908


"Elizabeth" wrote:

I've never used this function before and frankly read all the instructions
and still dont understand it. I have a customer that doesn't want more than
200 characters in his field, presently there are many cells with over the
200. I was told by him to do this function, as a customer I didnt want to
keep asking anymore questions.

Is there a way someone can explain "as if Im 5" how to do this funcition?
Thank you so much

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 269
Default Truncate

Truncate is a number function and just removes the decimal portion of a
number. I don't think this is what you want.

if you want to trim a cell entry to 200 characters use the left function
=left(C1,200)
If you enter this formula in cell C2 it would return as a result the first
200 Characters of whatever text is in C1

If C1 contains a lot of extra spaces like "We have extra spaces
between words" you can use the trim function to remove all but one space
between words first and then shorten to 200 characters.
=Left(Trim(c1),200)

For cells with less than 200 characters this would have no impact.

to clean an entire column put this formula in the first row of a column next
to the column you wish to clean up. Copy the formula down to the last row
used then copy the column containing the formulas and then use Paste
Special-Values to paste over the original data. You can then delete the
formula and you have clean data with no more than 200 characters in a cell.



--
If this helps, please remember to click yes.


"Elizabeth" wrote:

I've never used this function before and frankly read all the instructions
and still dont understand it. I have a customer that doesn't want more than
200 characters in his field, presently there are many cells with over the
200. I was told by him to do this function, as a customer I didnt want to
keep asking anymore questions.

Is there a way someone can explain "as if Im 5" how to do this funcition?
Thank you so much

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Truncate

TRUNC is for numbers only..........tells you that in help.

"Truncates a number to an integer by removing the fractional part of the
number"

What you need is LEFT function.

=LEFT(A1,200) will pull first 200 characters from A1

Use a helper cell with that formula for each of the cells containing more
than 200 chars.

Then copy/paste specialvaluesokesc

Paste overtop of original cells or in another range for customer to use.


Gord Dibben MS Excel MVP

On Wed, 18 Nov 2009 11:59:04 -0800, Elizabeth
wrote:

I've never used this function before and frankly read all the instructions
and still dont understand it. I have a customer that doesn't want more than
200 characters in his field, presently there are many cells with over the
200. I was told by him to do this function, as a customer I didnt want to
keep asking anymore questions.

Is there a way someone can explain "as if Im 5" how to do this funcition?
Thank you so much


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
How to truncate digits? Robert Blass Excel Worksheet Functions 6 May 20th 08 06:45 PM
How do you truncate 2.22 to just 0.22? Crackles McFarly Excel Worksheet Functions 6 September 5th 07 01:14 AM
How do I truncate something like this? ckeys Excel Discussion (Misc queries) 6 December 30th 06 05:49 PM
truncate tamar Excel Worksheet Functions 1 July 19th 05 10:32 PM
truncate ssn to first four digits DonJackson Excel Discussion (Misc queries) 2 June 1st 05 12:30 AM


All times are GMT +1. The time now is 05:44 PM.

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

About Us

"It's about Microsoft Excel"