Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Removing a space within a cell
I exported data that automatically adds a space before the value in each
cell. How do I remove the space without clicking in each individual cell and deleting the space? |
#2
|
|||
|
|||
I exported data that automatically adds a space before the value in each
cell. How do I remove the space without clicking in each individual cell and deleting the space? Use =TRIM(A1) or =RIGHT(A1,LEN(A1)-1) Copy the results, then Edit -- Paste Special (Values). Rgds, Andy |
#3
|
|||
|
|||
Jerry
=TRIM(A1) will remove extra spaces. Drag/copy as far as you need. Unless they are html non-breaking spaces, for which there are other methods. See David McRitchie's TrimAll code. http://www.mvps.org/dmcritchie/excel/join.htm#trimall Gord Dibben Excel MVP On Wed, 1 Dec 2004 16:49:06 -0800, JERRY8 wrote: I exported data that automatically adds a space before the value in each cell. How do I remove the space without clicking in each individual cell and deleting the space? |
#4
|
|||
|
|||
Another way:
Select your data (single column at a time) data|text to columns fixed width remove any lines that excel guessed plop it right back where you got it. This trims both the leading and trailing, but leaves internal spacing alone. JERRY8 wrote: I exported data that automatically adds a space before the value in each cell. How do I remove the space without clicking in each individual cell and deleting the space? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
removing green triangle in cell | Excel Worksheet Functions | |||
Removing only certain data in a cell | Excel Discussion (Misc queries) | |||
Removing a drop down list from a cell | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions | |||
VLookup resulting in a blank cell... | Excel Worksheet Functions |