A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Trim function limitations



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2003, 09:16 AM
Boz.theale
external usenet poster
 
Posts: n/a
Default Trim function limitations

I have imported text from another application and want to convert the
contents of cells into a continuous string - ie like trim but removing
all spaces, including those between words.

Eg I want a formula that will convert ABC 123 into ABC123.

Can anyone suggest a solution?

Thanks in advance



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2  
Old September 15th, 2003, 09:44 AM
JON-JON
external usenet poster
 
Posts: n/a
Default Trim function limitations

=SUBSTITUTE(A1," ","")

"Boz.theale" wrote in message
...
I have imported text from another application and want to convert the
contents of cells into a continuous string - ie like trim but removing
all spaces, including those between words.

Eg I want a formula that will convert ABC 123 into ABC123.

Can anyone suggest a solution?

Thanks in advance



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



  #3  
Old September 15th, 2003, 09:45 AM
Andy Brown
external usenet poster
 
Posts: n/a
Default Trim function limitations

You could try selecting your range, then CTRL+H (Replace).
Find What = " " (spacebar), leave "Replace With" blank. Click Replace All.

Rgds,
Andy


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.