How do I remove a blank separator from a number (like 2 006)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the number 2006 in the format "2 006" in cell A1 and I want cell A2 to
be in the correct format "2006". How do I accomplish this? Thanks!!
 
Probably a better way to do this but this should work.

=LEFT(A1,1)&RIGHT(A1,3)
 
Probably a better way to do this but this should work.

=LEFT(A1,1)&RIGHT(A1,3)
 
jd

TRIM does not remove internal spaces unless there are multiple consecutive
spaces.

2spcspcspc006 will TRIM down to 2spc006


Gord Dibben MS Excel MVP
 
jd

TRIM does not remove internal spaces unless there are multiple consecutive
spaces.

2spcspcspc006 will TRIM down to 2spc006


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top