#1   Report Post  
Tim
 
Posts: n/a
Default Odd numbers

Hello All,

I have a data that comes from the source with some sort
of a weird format. There seems to be a bunch of spaces
before the number. When you look at the value in the
formula bar, you see a gap before the number starts. I
can go in and manually delete the space and the number
becomes usable. Is there some other way to accomplish
this?

I can also use a MID formula then multiply the result by
1 to make the number usable.....I just do not know where
to start the mid. It varies with or by the number of
characters. Any ideas would be greatly appreciated.
Thanks
  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

Tim wrote...
I have a data that comes from the source with some sort
of a weird format. There seems to be a bunch of spaces
before the number. When you look at the value in the
formula bar, you see a gap before the number starts. I
can go in and manually delete the space and the number
becomes usable. Is there some other way to accomplish
this?

....

First select the range containing these numbers. Then run the menu
command Edit Replace, enter a space for the 'Find what' entry, make
sure the 'Replace with' entry contains nothing, then Replace All.

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

Editreplace, replace space with nothing


Regards,

Peo Sjoblom

"Tim" wrote:

Hello All,

I have a data that comes from the source with some sort
of a weird format. There seems to be a bunch of spaces
before the number. When you look at the value in the
formula bar, you see a gap before the number starts. I
can go in and manually delete the space and the number
becomes usable. Is there some other way to accomplish
this?

I can also use a MID formula then multiply the result by
1 to make the number usable.....I just do not know where
to start the mid. It varies with or by the number of
characters. Any ideas would be greatly appreciated.
Thanks

  #4   Report Post  
Tim
 
Posts: n/a
Default

Tried the replace function with no luck, it replaces the
space at the end of the number oand not at the
beginning. The only thing that seems to work is to
maually remove the space in the formula bar.

thanks




-----Original Message-----
Tim wrote...
I have a data that comes from the source with some sort
of a weird format. There seems to be a bunch of spaces
before the number. When you look at the value in the
formula bar, you see a gap before the number starts. I
can go in and manually delete the space and the number
becomes usable. Is there some other way to accomplish
this?

....

First select the range containing these numbers. Then

run the menu
command Edit Replace, enter a space for the 'Find

what' entry, make
sure the 'Replace with' entry contains nothing, then

Replace All.

.

  #5   Report Post  
Harlan Grove
 
Posts: n/a
Default

Tim wrote...
Tried the replace function with no luck, it replaces the
space at the end of the number oand not at the
beginning. The only thing that seems to work is to
maually remove the space in the formula bar.

....

In that case these are almost certainly nonbreaking spaces (decimal
character code 160) rather than normal/ASCII spaces (decimal character
code 32). Instead of typing a space in the 'Find what' entry, clear
that entry, then hold down the [Alt] key and on the number keypad type
in sequence 0, 1, 6, 0 and release the [Alt] key. That should enter a
character that looks like a space. Then replace all with nothing.

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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Validating random numbers plsauditor Excel Worksheet Functions 2 January 11th 05 11:12 PM
Sorting when some numbers have a text suffix confused on the tundra Excel Discussion (Misc queries) 5 December 18th 04 10:19 PM
Sorting imported "numbers" Confused on the tundra Excel Discussion (Misc queries) 5 December 17th 04 07:33 PM
finding common numbers in large lists Jenn Excel Worksheet Functions 1 November 11th 04 07:42 PM


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