PC Review


Reply
Thread Tools Rate Thread

Custom Format

 
 
=?Utf-8?B?TWlrZSBILg==?=
Guest
Posts: n/a
 
      11th Sep 2007
If I have a cell that contains text: 0012222 and I wish to apply custom
formatting to it like this: ###-#### I would expect the cell to look like
this: 001-2222 but if the text is already in the cell the view of the cell
does not change. But if I blank the cell out and then type 0012222 it
appears as 001-2222. Any idea why this is and how do I get around it so I
can format cells that are already containing data?
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      11th Sep 2007
If the entry was made when the cell was formatted as text, then the value in
that cell is still text after you changed to the custom format. And text values
won't use this custom number format.

One way to fix this is to
select an empty cell
edit|copy
Select the range of offending cells
edit|paste special|check Add and values


Mike H. wrote:
>
> If I have a cell that contains text: 0012222 and I wish to apply custom
> formatting to it like this: ###-#### I would expect the cell to look like
> this: 001-2222 but if the text is already in the cell the view of the cell
> does not change. But if I blank the cell out and then type 0012222 it
> appears as 001-2222. Any idea why this is and how do I get around it so I
> can format cells that are already containing data?


--

Dave Peterson
 
Reply With Quote
 
David McRitchie
Guest
Posts: n/a
 
      11th Sep 2007
Hi Mike,
In the back of your mind, you're probably pretty clear on how
it works, but to be more specific.

Changing the format between text and number in either direction has
no effect on the existing formatting of the cell until the data in the
cell is reentered. The simplest way to reenter same data for
a single cell is to use F2 then Enter.

A single quote in front of data will override formatting and will
be a text entry.

Changing the format of a cell actually formatted as numeric
(not as text) to another number format will be effective immediately.

You may find items of additional interest at
http://www.mvps.org/dmcritchie/excel/formula.htm
http://www.mvps.org/dmcritchie/excel...tm#debugformat
and the topic below that as well (#reenter) on reentering.

--
HTH,
David McRitchie, Microsoft MVP -- Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm


"Mike H." <(E-Mail Removed)> wrote in message news:7EDA2456-353E-4522-9164-(E-Mail Removed)...
> If I have a cell that contains text: 0012222 and I wish to apply custom
> formatting to it like this: ###-#### I would expect the cell to look like
> this: 001-2222 but if the text is already in the cell the view of the cell
> does not change. But if I blank the cell out and then type 0012222 it
> appears as 001-2222. Any idea why this is and how do I get around it so I
> can format cells that are already containing data?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with converting CUSTOM format/TEXT format to DATE format Deo Cleto Microsoft Excel Worksheet Functions 6 2nd Jun 2009 08:14 PM
Format Cell as custom type but data doesn't display like I custom. ToMMie Microsoft Excel Misc 6 11th Sep 2008 08:31 AM
Excel 2003. Custom format gets replaced by Special format. jasper Microsoft Excel New Users 0 1st Sep 2008 03:46 AM
how do I add phone number format as a permanent custom format? frustratedagain Microsoft Excel Misc 3 4th Feb 2006 03:52 AM
How do you format custom fields designed for custom contact forms? =?Utf-8?B?RGViYWxhbg==?= Microsoft Outlook Contacts 4 19th May 2004 11:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:20 PM.