#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Custom Number Query

Im using Excel 2002 and have a list of phone numbers as 12345 678 900 and
want to change them to 1234 5678900.

When I custom format as 0000 0000000, some of the cells change to that
format but others remain the same. Could there be some other formatting in
the cells that is over-riding the custom number format, and if so, how do I
find it?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Custom Number Query

If there are real spaces in your data, Excel sees it as text and the custom
format will not apply.

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

Will convert them into real numbers and the custom format will apply.


The alternative is to make all the data text and insert/delete spaces
yourself.
--
Gary''s Student - gsnu200736


"Minnie M" wrote:

Im using Excel 2002 and have a list of phone numbers as 12345 678 900 and
want to change them to 1234 5678900.

When I custom format as 0000 0000000, some of the cells change to that
format but others remain the same. Could there be some other formatting in
the cells that is over-riding the custom number format, and if so, how do I
find it?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Custom Number Query

Hi Gary's Student, I did a Find to delete the spaces and then the formatting
worked.

Thanks for your help.

"Gary''s Student" wrote:

If there are real spaces in your data, Excel sees it as text and the custom
format will not apply.

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

Will convert them into real numbers and the custom format will apply.


The alternative is to make all the data text and insert/delete spaces
yourself.
--
Gary''s Student - gsnu200736


"Minnie M" wrote:

Im using Excel 2002 and have a list of phone numbers as 12345 678 900 and
want to change them to 1234 5678900.

When I custom format as 0000 0000000, some of the cells change to that
format but others remain the same. Could there be some other formatting in
the cells that is over-riding the custom number format, and if so, how do I
find it?

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
Moving custom number format to NUMBER Doug Boufford Setting up and Configuration of Excel 3 July 23rd 07 11:58 PM
Copying the number of a custom formatted number cell fbvideo Excel Discussion (Misc queries) 2 January 25th 07 11:00 PM
custom number Gklass Charts and Charting in Excel 2 May 30th 06 08:07 PM
Custom Number Embalmer Excel Discussion (Misc queries) 2 December 31st 05 10:23 PM
Custom number format always defaults last number to 0. scubadave Excel Discussion (Misc queries) 2 June 15th 05 10:20 PM


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