Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default trim cells with space in betwen numbers in cell

How can you remove "spaces" between numbers in one cell? (ie 1 000 000) I
need to remove the space between the numbers over a large range of cells with
numbers in them with spaces.

I have tried trimming, cleaning the cells and defining them as numbers but
it seems like the only way to do this is by physically going into each cell
and deleting the space.

A shortcut in doing this would appreciated.

Thanks for all your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default trim cells with space in betwen numbers in cell

Highlight the column, Ctrl+H, find space replace with nothing. Will
auto-format to number.

"Morten" wrote:

How can you remove "spaces" between numbers in one cell? (ie 1 000 000) I
need to remove the space between the numbers over a large range of cells with
numbers in them with spaces.

I have tried trimming, cleaning the cells and defining them as numbers but
it seems like the only way to do this is by physically going into each cell
and deleting the space.

A shortcut in doing this would appreciated.

Thanks for all your help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default trim cells with space in betwen numbers in cell

Assuming its truly the space symbol:

=VALUE(SUBSTITUTE(A2," ",""))

Note that if space character is some other unprintable character such as
CHAR(160), you could use the CODE function to determine which symbol it is
exaclty, and then remove it like so:

=VALUE(SUBSTITUTE(A2,CHAR(160),""))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Morten" wrote:

How can you remove "spaces" between numbers in one cell? (ie 1 000 000) I
need to remove the space between the numbers over a large range of cells with
numbers in them with spaces.

I have tried trimming, cleaning the cells and defining them as numbers but
it seems like the only way to do this is by physically going into each cell
and deleting the space.

A shortcut in doing this would appreciated.

Thanks for all your help.

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
Trim Characters Other Than An Empty Space At The End Of A Cell K8_Dog Excel Worksheet Functions 5 April 19th 08 01:29 AM
Adding a space inbetween letters and numbers in a cell Jazzman10 Excel Discussion (Misc queries) 2 June 21st 07 01:31 PM
Taking out or reducing space betwen paragraphs TypeType Excel Discussion (Misc queries) 1 March 22nd 07 08:16 AM
Deleting a space between a group of Numbers & Letters in a cell Melissa New Users to Excel 6 May 1st 06 01:35 PM
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM


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