Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default DELETE SPACES In part

Hello all,
I have a part field lets say Column A and some parts containn a space in
between some parts. Is there a way to delete the empty space? Here's example:

XX124 TZ I want this to be XX124 TZ
ZZ243 TX I want this to be ZZ243 TX
ZZ356TZ This stays same
xyw3 TZ I want this to be xyw3 TZ

So I just want to delete the spaces.

Please advise any help.

thank you,

Juan

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default DELETE SPACES In part

I don't see a difference between the before and after...

maybe...

=substitute(a1," ","")

or just selecting your range
edit replace
what: (spacebar)
with: (leaveblank)
replace all



Juan wrote:

Hello all,
I have a part field lets say Column A and some parts containn a space in
between some parts. Is there a way to delete the empty space? Here's example:

XX124 TZ I want this to be XX124 TZ
ZZ243 TX I want this to be ZZ243 TX
ZZ356TZ This stays same
xyw3 TZ I want this to be xyw3 TZ

So I just want to delete the spaces.

Please advise any help.

thank you,

Juan


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default DELETE SPACES In part

Juan.

Please try =trim(a1)

To delete blank spaces

Thank you



Juan wrote:
Hello all,
I have a part field lets say Column A and some parts containn a space in
between some parts. Is there a way to delete the empty space? Here's example:

XX124 TZ I want this to be XX124 TZ
ZZ243 TX I want this to be ZZ243 TX
ZZ356TZ This stays same
xyw3 TZ I want this to be xyw3 TZ

So I just want to delete the spaces.

Please advise any help.

thank you,

Juan


--
purplemx

Message posted via http://www.officekb.com
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete spaces rexmann Excel Discussion (Misc queries) 4 March 7th 08 02:38 PM
delete single spaces Mark R Excel Discussion (Misc queries) 5 May 31st 07 05:03 PM
How do I delete spaces from the end of text George Excel Discussion (Misc queries) 4 September 11th 06 07:33 AM
how do I delete the last two spaces in a cell brantty Excel Discussion (Misc queries) 2 July 27th 06 01:14 AM
delete spaces CHARI Excel Worksheet Functions 2 September 9th 05 10:38 AM


All times are GMT +1. The time now is 10:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"