Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Melissa
 
Posts: n/a
Default Deleting a space between a group of Numbers & Letters in a cell

I'm trying to delete a single space between a group od items:

ACE 12408 ------------I'm looking for ACE12408

I have over 10,000 lines so I'm looking for a shortcut.....Help ME please!!!

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Rae Drysdale
 
Posts: n/a
Default Deleting a space between a group of Numbers & Letters in a cell

Highlight the text, go to Edit | Replace. In the Find what box just press the
spacebar and then click Replace All, ie don't put anything in the Replace
with box.

--
Rae Drysdale


"Melissa" wrote:

I'm trying to delete a single space between a group od items:

ACE 12408 ------------I'm looking for ACE12408

I have over 10,000 lines so I'm looking for a shortcut.....Help ME please!!!

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Trevor Shuttleworth
 
Posts: n/a
Default Deleting a space between a group of Numbers & Letters in a cell

Melissa

why not just use a global Replace of " " for "" (nothing)

Regards

Trevor


"Melissa" wrote in message
...
I'm trying to delete a single space between a group od items:

ACE 12408 ------------I'm looking for ACE12408

I have over 10,000 lines so I'm looking for a shortcut.....Help ME
please!!!

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.newusers
Melissa
 
Posts: n/a
Default Deleting a space between a group of Numbers & Letters in a cel

It says that " " can not be located?

"Trevor Shuttleworth" wrote:

Melissa

why not just use a global Replace of " " for "" (nothing)

Regards

Trevor


"Melissa" wrote in message
...
I'm trying to delete a single space between a group od items:

ACE 12408 ------------I'm looking for ACE12408

I have over 10,000 lines so I'm looking for a shortcut.....Help ME
please!!!

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.newusers
Dave Peterson
 
Posts: n/a
Default Deleting a space between a group of Numbers & Letters in a cel

If that didn't work, then maybe those characters aren't space characters.

If you copied from a web page, you could have those non-breaking HTML spaces
(char(160)'s) in your data.

You could try this:
Select the range
edit|Replace
what: hit and hold the alt key while typing 0160 on the numeric keypad
with: (leave blank)
replace all

If you have to do this kind of stuff lots of times, you may want to try David
McRitchie's routine to clean the data:

http://www.mvps.org/dmcritchie/excel/join.htm#trimall
(look for "Sub Trimall()"

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Melissa wrote:

It says that " " can not be located?

"Trevor Shuttleworth" wrote:

Melissa

why not just use a global Replace of " " for "" (nothing)

Regards

Trevor


"Melissa" wrote in message
...
I'm trying to delete a single space between a group od items:

ACE 12408 ------------I'm looking for ACE12408

I have over 10,000 lines so I'm looking for a shortcut.....Help ME
please!!!

Thanks





--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.newusers
Cutter
 
Posts: n/a
Default Deleting a space between a group of Numbers & Letters in a cell


Have you tried Find/Replace method?

Highlight all your cells containing the data to alter
Go to Edit Find
In the space for "Find What" type a space
For the "Look In" drop down choose values
Click on "Replace"
Then click on "Replace All"

This replaces the space with nothing


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=537364

  #7   Report Post  
Posted to microsoft.public.excel.newusers
Melissa
 
Posts: n/a
Default Deleting a space between a group of Numbers & Letters in a cel

Got It !! Thanks that was great help.

"Cutter" wrote:


Have you tried Find/Replace method?

Highlight all your cells containing the data to alter
Go to Edit Find
In the space for "Find What" type a space
For the "Look In" drop down choose values
Click on "Replace"
Then click on "Replace All"

This replaces the space with nothing


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=537364


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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Don't allow a space in a cell...how to prevent? Jugglertwo Excel Discussion (Misc queries) 2 December 2nd 05 04:50 PM
separating numbers and letters from alphanumeric cell contents PH Excel Worksheet Functions 10 September 3rd 05 12:15 PM
VLOOKUP for a cell with both letters and numbers Sonohal Excel Discussion (Misc queries) 6 April 8th 05 02:13 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 02:22 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"