#1   Report Post  
SAS
 
Posts: n/a
Default Trailing blanks

How do I remove trailing blanks from numbers in order to use them in a formula?
  #2   Report Post  
Jimbola
 
Posts: n/a
Default

You can use the trim function i.e. if you have a value in cell A1 with
trailing blanks.
In B1 enter the formula =trim(A1)

"SAS" wrote:

How do I remove trailing blanks from numbers in order to use them in a formula?

  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

=TRIM(cellref)

OR EditReplace <space with nothing.

Depending upon where the numbers came from, the blanks could be char(160).

Use ALT + 0160 in the replace what: box.

Gord Dibben Excel MVP

On Fri, 7 Jan 2005 11:45:05 -0800, SAS wrote:

How do I remove trailing blanks from numbers in order to use them in a formula?


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
Column character width on auto filter Floyd III Excel Discussion (Misc queries) 2 January 7th 05 01:59 AM
Trailing Space / Format Question hagen Excel Discussion (Misc queries) 4 December 27th 04 11:01 PM
Update fields with blanks kash Excel Discussion (Misc queries) 1 December 3rd 04 09:18 PM


All times are GMT +1. The time now is 02:52 AM.

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"