![]() |
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. |
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. |
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. |
All times are GMT +1. The time now is 01:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com