Hello I have a list of names that i need to remove double spaces between each word so there is only one space between each word any help is apperciated
Hello I have a list of names that i need to remove double spaces between each word so there is only one space between each word any help is apperciated
Unlike Rtim or Ltrim..
TRIM function can remove spaces from .. Left Right and Double space in between Words.. in a cell..
Try
Formula:
=TRIM(A1)
Regards!
=DEC2HEX(3563)
If you like someone's answer, click the star to give them a reputation point for that answer...
This will remove all the double spaces.
=TRIM(SUBSTITUTE(SUBSTITUTE(A1," ","*"),"*"," "))
Please click 'Add reputation', if my answer helped you.
=TRIM(SUBSTITUTE(A1," ","*")) worked but for some reason it doesnt trim all the values I had to do trim first then substitute
you could also do it without a formula, by using the replace and find option (Ctrl+H) and finding " " (2 spaces) and replacing them with " " (one space). maybe do this again if there are instances with 3 spaces (first time 3 becomes 2, second time 2 becomes 1)
When I say semicolon, u say comma!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks