ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula for shifting of words (https://www.excelbanter.com/excel-discussion-misc-queries/250073-formula-shifting-words.html)

PL

Formula for shifting of words
 
Hi

I am using Excel 2003.

I want the formula that allows me to shift all the words in a cell 1 spacing
to the left as I have some cells with a spacing before the 1st word.

Thank you.

Sheeloo

Formula for shifting of words
 
If you have your words in Col A starting at A1 then enter this in B1
=MID(A1,2,LEN(A1))
and copy the formula down as required...
This will remove the first character from the words in Col A

If you want to remove the first character only if it is space then use
=IF(LEFT(A1)=" ",MID(A1,2,LEN(A1)),A1)



"PL" wrote:

Hi

I am using Excel 2003.

I want the formula that allows me to shift all the words in a cell 1 spacing
to the left as I have some cells with a spacing before the 1st word.

Thank you.



All times are GMT +1. The time now is 07:55 AM.

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