Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe one of these:
For all text lengths: =LEFT(A1,COUNT(INDEX(1/(TRIM(RIGHT(A1,ROW(INDEX($A:$A,1): INDEX($A:$A,LEN(A1)))))<""),0))) or...if the text length will be 255 chars or less: =LEFT(A1,COUNT(INDEX(1/(TRIM(RIGHT(A1,COLUMN($1:$65536)))<""),0))) Does that help? -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "rexmann" wrote in message ... Hi All Is there a formula that deletes all the spaces at the end of a cell of text but not the spaces in the middle of the cell? Cheers Rexmann PS Excel 2003 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
An easy way to delete spaces in a cell... | New Users to Excel | |||
delete single spaces | Excel Discussion (Misc queries) | |||
How do I delete spaces from the end of text | Excel Discussion (Misc queries) | |||
how do I delete the last two spaces in a cell | Excel Discussion (Misc queries) | |||
delete spaces | Excel Worksheet Functions |