How can you remove all of the unused spaces in an excel file?
-
I have run into a problem and do not understand the instructions that I have found. I uploaded a .txt file of addresses. There are a total of 44k. The problem is that when the file was converted to a .xls file, a few of the columns contain numerous spaces after the text. I have a feeling that these were tabs done in the .txt file. When I go to center a column, lets say the street address column, all of the text will line up in the "center", but about 10 spaces to the left because of the 10 blank spaces at the end of each street address. How can I automatically remove all of the unused spaces or spaces over 2 spaces long? I've tried to go through the instructions that I found, but am getting no where. Can someone please give me basic instructions? Say I'm 10 years-old and this is my first time with Excel. Thank You
-
Answer:
Next to your list of data (col A) enter in B2 =TRIM(A2) this will get rid of the unwanted spaces. There is also a CLEAN command which will get rid of all the non printing characters as well. Use the data ibn col B in any formula or printouts I used row 2 as the start of the list to allow for column labels in row 1.
chris at Yahoo! Answers Visit the source
Other answers
Do Find & replace (Ctrl-H). You will see two boxes, in the upper box put two spaces, in the lower box put nothing. Click "Replace all". Repeat until there are no more double spaces to replace.
Related Q & A:
- how can i remove an array from an array?Best solution by Stack Overflow
- How can I remove duplicate Objects from array of Objects in javascript?Best solution by Stack Overflow
- How can I remove an element in a repeated list?Best solution by Stack Overflow
- How can I remove hyperlink?Best solution by Yahoo! Answers
- How can I remove a casset tape from my car player? It is a 2003 Hyundai Sonota. Does anyone else this problem?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.