Skip to main content

Removes Unwanted Spaces Leading, Trailing And Between Words From The Text String.

In Excel spreadsheet, if you have typed some extra spaces between words. Therefore, you can use TRIM(text) function in order to get rid of those unwanted spaces. This function will erase all extra spaces but except for single spaces between them.

In addition the formula =TRIM(text) function will remove leading and trailing spaces from the text as well.

Syntax

TRIM(text)

How to use formula:

To type:

1] =TRIM into any cell.
2] (
3] Select the cell wanted to be trimmed. (See the image below as example by putting cell A1)
4] )

It's done.

Text: the text in any cell from which you want spaces deleted.

See an image example below for understanding easily.



Did you find this article useful?

See more another tips:
You might like my another blogs:

Comments

Popular posts from this blog

Ctrl+Shift+*(Asterisk) - Excel Keyboard Shortcut Select Active Cells | Exceltip2day

"Ctrl+ Shift+ *(Asterisk)"  What are these keys beneficial for any Excel office user? Hello, everyone. I'm Michael. Welcome you to my Excel tip blog. Today, I'm going to give you the 3 key buttons to select the current region, which are around the cell(s) in the Excel worksheet. Tip Quiz What's the shortcut keys extending the selection to the first cell in an Excel worksheet? Whenever you fill out any data into cells in the Excel worksheet. For any reason, if you want to select all the active cells within it (Spreadsheet). What is the method you are going to do? Do you have your own the "How-To" for handling it? Whether you have one or have not. I am going to share you the three key buttons, shortcut way on a keyboard of your PC, laptop, notebook, tablet ; it is very simple to deal with it. You just press these buttons “Ctrl + Shift + * (Asterisk)” on the keyboard. This shortcut will result in selecting the current active cells th...

5 Alternative Shortcut Ways Minimize Your Excel Workbook, Read It Now! | ExcelTip2Day

"How to Minimize Your Excel Workbook For Window?" Do you use an Excel office program?  If yes, stick around with me. I will show you how to operate your Excel worksheet easily. Hello, I'm Michael Leng. Today I'm very glad to show how to minimize an Excel workbook to an icon. Tip Quiz What to do if your monitor screen upside down? This applies to use for the Excel version 2013, due to I have been using it. And also these methods are for Window program operation. The methods that I have discovered and used, there are 5 ways. 5 methods minimize Excel workbook. ⟴ Use shortcut keys  "Ctrl" and "F9" ⟴   Use shortcut keys  " ALT",  "Spacebar" and "F9" ⟴   Click on the "Minimize workbook" square box. ⟴   Clicking on the "Minimize" command in the "Quick Access Toolbar" ⟴   Use shortcut keys "Window Logo" and "M" To make you more ease seein...

Excel Trick Press A Couple Of [Arrow Key] Move One Cell Diagonally | Excetip2day

Hello there. I'm Michael, today, in my blog "Exceltip2day" , I'm going to talk about: The trick of how to move from a cell diagonally to another by using a shortcut key Tip Quiz Do you know what is the shortcut of deleting Cell(s) in Excel Worksheet? How do you move one cell diagonally by using shortcut key? Suppose the cell pointer is in the [ F10 ] active cell. We want to move to G9, H8, I7, etc. diagonally for an example. I have the trick to get the task done moving diagonally one cell to the adjacent cell that you can follow the 4 moving ways as the step below: Look at the image immidiately above, then to just press the bottoms below at the same time for the thick no. 1 to no. 4.  πŸ‘‰   Trick no. 1 To move one cell pointer diagonally from F10 to G9 Up Arrow Right Arrow πŸ‘‰   Trick no. 2 To move one cell pointer diagonally from F10 to G12 Down Arrow Right Arrow πŸ‘‰   Trick no. 3 To move one cell pointer diagonally from F10 t...