|
|
Subject:
TRIM in Excel
Category: Computers > Software Asked by: ms2005-ga List Price: $4.50 |
Posted:
17 Apr 2005 10:23 PDT
Expires: 22 Apr 2005 10:37 PDT Question ID: 510453 |
Im trying to use excel to remove a leading space from a cell, however TRIM(A1) function is not working to remove the space. In addition, I get a ?NAME error if I try to use LTRIM. Anyone know how to solve this? | |
| |
| |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: TRIM in Excel
From: joet31124-ga on 18 Apr 2005 06:24 PDT |
I suspect that the reason TRIM isn't working is because the leading space is a hard space - char(160) rather than a regular space, char(32). The simplest way to solve this is to highlight the leading character from the formula bar and copy it to the clipboard using ctrl-c. Then, go to replace in the edit menu and paste the character using ctrl-v into the "search for" box. In the "replace with" box, just hit the space bar once. Click on replace all. You could just leave the "replace with" box empty, but there's a danger that it would replace legitimate spaces with nothing, removing the spaces. When you have replaced all the hard spaces, TRIM should work properly. |
Subject:
Re: TRIM in Excel
From: kart91-ga on 21 Apr 2005 23:48 PDT |
Yup, what joet31124-ga says will work fine. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |