Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default 2007: Number format < Number format

In Excel 2007:

If one formats a range using the Ribbon: Number group, Number (from the drop
down box), Comma, click the decrease decimal button twice, the cell(s) are
formatted with padding on the right. Using the Format command to view the
applied format, one finds that a custom format has been applied.

If one instead uses the Cells group, Format command (or right click, Format
cells...) and selects Number, comma separator, zero decimals, the cell(s) are
formatted without padding. In this case, no custom format has been applied.

Yeah, I know. Picky, picky. It just pays to be consistent. And attentive.

G


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default 2007: Number format < Number format

If you would look just above the Comma on the Number group you will find a
dropdown telling you the formatting applied to the cell(s).

You will also notice that when you click on the Comma the formatting applied
is 'Accounting' which is the same as
_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)

Now when you click on the decimal button to reduce the number of decimals to
zero, formatting changes to 'Custom' (which is what you are doing) which is
the same as
_(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_)

Now when you apply the format Number with zero decimals you are really
applying
#,##0_);(#,##0)

which is different from the one you get by clicking on Comma (as it should
be since Comma applies the 'Accounting' format)

btw thanks to your post I noticed the drop-down (for the first time) today...

Goes to show that you can work with it for years and still miss things which
are right in front of your eyes....

Have a nice day....

Q: Do I qualify as 'picky'?
or 'attentive' :-)

"GeoBrooks" wrote:

In Excel 2007:

If one formats a range using the Ribbon: Number group, Number (from the drop
down box), Comma, click the decrease decimal button twice, the cell(s) are
formatted with padding on the right. Using the Format command to view the
applied format, one finds that a custom format has been applied.

If one instead uses the Cells group, Format command (or right click, Format
cells...) and selects Number, comma separator, zero decimals, the cell(s) are
formatted without padding. In this case, no custom format has been applied.

Yeah, I know. Picky, picky. It just pays to be consistent. And attentive.

G


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
Conditional number format in Excel 2007 hmm Excel Discussion (Misc queries) 3 November 10th 08 03:54 PM
How do you change the default number format in Excel 2007? Gabe Excel Discussion (Misc queries) 1 July 29th 08 03:33 PM
Excell 2007 - Number format corruption ecoeng Excel Discussion (Misc queries) 0 May 19th 08 12:38 AM
Currency format for Excel 2007 not displaying actual number gaelic_vixen Excel Discussion (Misc queries) 1 December 13th 07 02:17 PM
Excel 2007 Pivot table cells number format changes w/out user inpu HardwareJunkie Excel Discussion (Misc queries) 0 November 29th 07 09:56 PM


All times are GMT +1. The time now is 10:30 PM.

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"