ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   eliminate space at beginning of line (https://www.excelbanter.com/excel-worksheet-functions/144792-eliminate-space-beginning-line.html)

Finger Tips

eliminate space at beginning of line
 
Hello, I just ran find and replace to find a word and remove it. The problem
I now have is it leaves the space after the word which in some cells leaves
the space before the now first word in the cell. ex. "connecticut news" is
now news because i remove the connecticut but it left a space before news in
the cell. How can I remove that first space only in the cell

Roger Govier

eliminate space at beginning of line
 
Hi

Try in another column
=TRIM(A1) and copy down
Copy the helper column and paste SpecialValues back over column A
--
Regards

Roger Govier


"Finger Tips" wrote in message
...
Hello, I just ran find and replace to find a word and remove it. The
problem
I now have is it leaves the space after the word which in some cells
leaves
the space before the now first word in the cell. ex. "connecticut
news" is
now news because i remove the connecticut but it left a space before
news in
the cell. How can I remove that first space only in the cell





All times are GMT +1. The time now is 01:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com