#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default remove space

How can i remove single space between two values by putting formula ie 2 2
into 22.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default remove space

Try

=SUBSTITUTE(A1," ","")

Mike

"capreecorn" wrote:

How can i remove single space between two values by putting formula ie 2 2
into 22.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default remove space

thanks dear, how can i remove the space in start of value in cell.

"Mike H" wrote:

Try

=SUBSTITUTE(A1," ","")

Mike

"capreecorn" wrote:

How can i remove single space between two values by putting formula ie 2 2
into 22.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default remove space

hi,

first if you use SUBSTITUTE the cell contains a text entry and you say value.

second to remove trailing and leading spaces use:

=TRIM(A1)

It also removes extra spaces between characters (extra being more than 1)

In both case your results are text, to change them to values the easiest way
is to

=--TRIM(A1)
or
=--SUBSTITUTE(A1," ","")

You can combine both of these

=--TRIM(SUBSTITUTE(A1," ",""))


--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"capreecorn" wrote:

thanks dear, how can i remove the space in start of value in cell.

"Mike H" wrote:

Try

=SUBSTITUTE(A1," ","")

Mike

"capreecorn" wrote:

How can i remove single space between two values by putting formula ie 2 2
into 22.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default remove space

=RIGHT(A1,LEN(A1)-1)
--
David Biddulph


"capreecorn" wrote in message
...
thanks dear, how can i remove the space in start of value in cell.

"Mike H" wrote:

Try

=SUBSTITUTE(A1," ","")

Mike

"capreecorn" wrote:

How can i remove single space between two values by putting formula ie
2 2
into 22.



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
Remove space at beginning of each name Supe Excel Discussion (Misc queries) 3 February 8th 08 06:19 PM
How to remove blank space? Daniel Charts and Charting in Excel 1 August 6th 07 08:23 AM
How to remove a space Kevin Excel Discussion (Misc queries) 5 July 20th 07 01:24 PM
Remove Space in Text Tian Excel Discussion (Misc queries) 5 April 6th 06 07:09 PM
Remove leading space Karidre Excel Worksheet Functions 4 October 24th 05 03:39 PM


All times are GMT +1. The time now is 03:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"