Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33Â*033Â*546"

i want to remove space b/w these numbers.


3 087 159
33 033 546
63 330
69 031
13 115 606


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33*033*546"

Select the range
edit|Replace
what: (space bar)
with: (leave blank)
replace all



NAEEM wrote:

i want to remove space b/w these numbers.

3 087 159
33 033 546
63 330
69 031
13 115 606


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33*033*546"

with a formula

=SUBSTITUTE(D26," ","")

--
Don Guillett
SalesAid Software

"NAEEM" wrote in message
...
i want to remove space b/w these numbers.


3 087 159
33 033 546
63 330
69 031
13 115 606




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33Â*033Â*546"

dear dave
this is not working

"Dave Peterson" wrote:

Select the range
edit|Replace
what: (space bar)
with: (leave blank)
replace all



NAEEM wrote:

i want to remove space b/w these numbers.

3 087 159
33 033 546
63 330
69 031
13 115 606


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33Â*033Â*546"

dear dave
this is not working


"NAEEM" wrote:

i want to remove space b/w these numbers.


3 087 159
33 033 546
63 330
69 031
13 115 606




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33Â*033Â*546"

dear don this is not working

"Don Guillett" wrote:

with a formula

=SUBSTITUTE(D26," ","")

--
Don Guillett
SalesAid Software

"NAEEM" wrote in message
...
i want to remove space b/w these numbers.


3 087 159
33 033 546
63 330
69 031
13 115 606





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33*033*546"

If it's not working, then maybe you don't have spaces in those strings.

If you copy|pasted from a web page, you could be getting those HTML non-breaking
spaces.

You can insert a new column and use a formula like:

=substitute(a1,char(160),"")
(It returns text values--not numbers)

or
=--substitute(a1,char(160),"")
(to return a real number)



NAEEM wrote:

dear dave
this is not working

"Dave Peterson" wrote:

Select the range
edit|Replace
what: (space bar)
with: (leave blank)
replace all



NAEEM wrote:

i want to remove space b/w these numbers.

3 087 159
33 033 546
63 330
69 031
13 115 606


--

Dave Peterson


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33*033*546"

NAEEM

Where did the data come from?

Perhaps the spaces are not regular spaces but html non-breaking spaces.

You could try edit/replace

what: ALT + 0160(on numpad)

with: nothing

Or run David McRitchie's TRIMALL macro found at

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

Please note the link to Chip Pearson's CELLVIEW add-in which can show you
exactly which characters are in the cell.


Gord Dibben MS Excel MVP

On Tue, 5 Dec 2006 08:06:01 -0800, NAEEM
wrote:

dear don this is not working

"Don Guillett" wrote:

with a formula

=SUBSTITUTE(D26," ","")

--
Don Guillett
SalesAid Software

"NAEEM" wrote in message
...
i want to remove space b/w these numbers.


3 087 159
33 033 546
63 330
69 031
13 115 606






  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default TRUNCATE SPACE FROM NUMERICAL STRING eg "33 033 546"

thanks dear

"Gord Dibben" wrote:

NAEEM

Where did the data come from?

Perhaps the spaces are not regular spaces but html non-breaking spaces.

You could try edit/replace

what: ALT + 0160(on numpad)

with: nothing

Or run David McRitchie's TRIMALL macro found at

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

Please note the link to Chip Pearson's CELLVIEW add-in which can show you
exactly which characters are in the cell.


Gord Dibben MS Excel MVP

On Tue, 5 Dec 2006 08:06:01 -0800, NAEEM
wrote:

dear don this is not working

"Don Guillett" wrote:

with a formula

=SUBSTITUTE(D26," ","")

--
Don Guillett
SalesAid Software

"NAEEM" wrote in message
...
i want to remove space b/w these numbers.


3 087 159
33 033 546
63 330
69 031
13 115 606







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
Displays the number in text. (One thousand two hundred thirty four Ashish Patel Excel Worksheet Functions 1 March 20th 06 09:27 PM
Property Let: assign return value of Double when passing String Tetsuya Oguma Excel Discussion (Misc queries) 1 March 3rd 06 08:01 AM
Looking up a string of text within a string of text tobriant Excel Worksheet Functions 4 September 20th 05 06:59 PM
Auto convert an alphanumeric string (CIS9638S) to numbers only? Gary L Brown Excel Worksheet Functions 1 September 7th 05 01:17 AM
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 02:16 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"