search
social.me.dia
« Paste the resulting values, not the formula with Paste Special in Excel | Main | Accessing all the functions in Excel with Insert Function »
Friday
Sep122008

Removing extra spaces from cells with Trim in Excel

If you have data that contains additional spaces, there is a function you can use to trim them out.

  1. Select a destination cell for your formula.

  2. Type =trim([cell name]), then press Enter.


Note: According to Excel’s Insert Function dialog box, "Trim removes all spaces from a text string except for a single space between words."

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>