ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Delete empty spaces at the end of text of a column? (https://www.excelbanter.com/excel-programming/369733-delete-empty-spaces-end-text-column.html)

nbaj2k[_33_]

Delete empty spaces at the end of text of a column?
 

I have a column that has different headings that I want to group
together. They are entries made by different people, some people for
one reason or another add an extra space or 2 with the spacebar after
the entry. When grouping these with a pivot table this makes it more
difficult as an entry with an extra space at the end won't group with
the entry without the space.

Is there a way to take a column that has many text entries and delete
any spaces after the last word of them?

Thanks,

~J


--
nbaj2k
------------------------------------------------------------------------
nbaj2k's Profile: http://www.excelforum.com/member.php...o&userid=36480
View this thread: http://www.excelforum.com/showthread...hreadid=569399


Don Guillett

Delete empty spaces at the end of text of a column?
 
look in help for
TRIM

--
Don Guillett
SalesAid Software

"nbaj2k" wrote in
message ...

I have a column that has different headings that I want to group
together. They are entries made by different people, some people for
one reason or another add an extra space or 2 with the spacebar after
the entry. When grouping these with a pivot table this makes it more
difficult as an entry with an extra space at the end won't group with
the entry without the space.

Is there a way to take a column that has many text entries and delete
any spaces after the last word of them?

Thanks,

~J


--
nbaj2k
------------------------------------------------------------------------
nbaj2k's Profile:
http://www.excelforum.com/member.php...o&userid=36480
View this thread: http://www.excelforum.com/showthread...hreadid=569399





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

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