Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
shikha
 
Posts: n/a
Default removing a space from starting of the text

I have a number written in one of the cells before which there is a space . I
cannot do any calculation because of that space. How do i remove that space
from beginning of the text such that it gets converted to a number
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

=trim(a1)
************
Anne Troy
www.OfficeArticles.com

"shikha" wrote in message
...
I have a number written in one of the cells before which there is a space .
I
cannot do any calculation because of that space. How do i remove that
space
from beginning of the text such that it gets converted to a number



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If the OP has many values to change another option might be to use a macro
like this

http://www.mvps.org/dmcritchie/excel/join.htm#trimall

--
Regards,

Peo Sjoblom

(No private emails please)


"Anne Troy" wrote in message
...
=trim(a1)
************
Anne Troy
www.OfficeArticles.com

"shikha" wrote in message
...
I have a number written in one of the cells before which there is a space
. I
cannot do any calculation because of that space. How do i remove that
space
from beginning of the text such that it gets converted to a number




  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

Assuming these are numbers, so contain no other spaces, just use Edit/Replace
and replace the space character with "nothing" (leave the Replace With box
blank).

On Sat, 24 Sep 2005 08:19:02 -0700, shikha
wrote:

I have a number written in one of the cells before which there is a space . I
cannot do any calculation because of that space. How do i remove that space
from beginning of the text such that it gets converted to a number

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
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
Text Wrapping JMB Excel Discussion (Misc queries) 0 July 29th 05 02:41 AM
space between text strings with concatenate Jeff Excel Discussion (Misc queries) 2 March 3rd 05 06:54 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


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