Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In my spreadsheet there is a column that contains number, 3 on the left,
space, 3 on the right. I want to remove that space. Rather than doing this in three steps, taking left, then taking right, then joining those together, is there an easier way to accomplish the same thing. It currently looks like this 216 123 I want it to be this 216123 I'm sure there is an easier way, but I only know how in three steps. Thanks! |
#2
![]() |
|||
|
|||
![]()
Yes, there is an easier way to remove the space from the middle of a cell in Excel. You can use the SUBSTITUTE function to replace the space with nothing. Here are the steps to do it:
This will remove all spaces from the selected column, leaving only the numbers. Note that this will replace all spaces in the column, so make sure you don't have any spaces that you want to keep.
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
One way is to use the formula below in a helper column and then copy the helper column and paste special|Values back over the original data. you can then delete the helper column =SUBSTITUTE(A1," ","") -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "TJAC" wrote: In my spreadsheet there is a column that contains number, 3 on the left, space, 3 on the right. I want to remove that space. Rather than doing this in three steps, taking left, then taking right, then joining those together, is there an easier way to accomplish the same thing. It currently looks like this 216 123 I want it to be this 216123 I'm sure there is an easier way, but I only know how in three steps. Thanks! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Wed, 21 Apr 2010 09:27:02 -0700, TJAC
wrote: In my spreadsheet there is a column that contains number, 3 on the left, space, 3 on the right. I want to remove that space. Rather than doing this in three steps, taking left, then taking right, then joining those together, is there an easier way to accomplish the same thing. It currently looks like this 216 123 I want it to be this 216123 I'm sure there is an easier way, but I only know how in three steps. Thanks! Another way would be to use FIND/REPLACE Find what: <space Replace with: "just leave this blank" --ron |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I wasn't even thinking of something that simple. Thanks!
"Ron Rosenfeld" wrote: On Wed, 21 Apr 2010 09:27:02 -0700, TJAC wrote: In my spreadsheet there is a column that contains number, 3 on the left, space, 3 on the right. I want to remove that space. Rather than doing this in three steps, taking left, then taking right, then joining those together, is there an easier way to accomplish the same thing. It currently looks like this 216 123 I want it to be this 216123 I'm sure there is an easier way, but I only know how in three steps. Thanks! Another way would be to use FIND/REPLACE Find what: <space Replace with: "just leave this blank" --ron . |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Much easier and faster than mine. Thank you!
"Mike H" wrote: Hi, One way is to use the formula below in a helper column and then copy the helper column and paste special|Values back over the original data. you can then delete the helper column =SUBSTITUTE(A1," ","") -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "TJAC" wrote: In my spreadsheet there is a column that contains number, 3 on the left, space, 3 on the right. I want to remove that space. Rather than doing this in three steps, taking left, then taking right, then joining those together, is there an easier way to accomplish the same thing. It currently looks like this 216 123 I want it to be this 216123 I'm sure there is an easier way, but I only know how in three steps. Thanks! |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Wed, 21 Apr 2010 10:56:01 -0700, TJAC
wrote: I wasn't even thinking of something that simple. Thanks! Glad to help. Thanks for the feedback. --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
removing all spaces | Excel Discussion (Misc queries) | |||
Removing spaces in cell | Excel Worksheet Functions | |||
removing spaces | Excel Discussion (Misc queries) | |||
how to remove spaces in a middle of a cell example '25 566 589. | Excel Discussion (Misc queries) | |||
Removing Spaces in a Cell | Excel Worksheet Functions |