#1   Report Post  
Fred Holmes
 
Posts: n/a
Default Number formatting

Excel 2000, Windows 2000

A couple of questions:

In the number format dialog there are some "accounting" formats shown
as templates, e.g.:

_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)

Where is there a "complete" discussion of the syntax of these
formatting formulae? Not in the Excel Help that I can find. For
example, what does the enclosing "_(...)" do for the formatting? It
looks like there are a lot of possibilities here. I especially like
discovering a format where the "$" can be put at the left edge of the
cell, not adjacent to the number. But to find all of what the above
formula does, all I can to is plug in a bunch of different numbers and
see what happens.

Short of writing a macro (i.e., using the vba editor to write the
number format), is there any way to "open up" the number format dialog
so that one can read the entire format formula string all at once? I
suppose I could also write it "anywhere" and copy/paste it into the
provided text box (which is much too short for the above number format
formula to be fully displayed).

Many thanks,

Fred Holmes
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

I don't have XL2000, but there's a complete discussion in XL2004 under
the "About custom number formats" help topic.

Specifically:

The _ character causes a space the width of the character that follows
it to be inserted.

The * character extends the character that follows it to be repeated to
fill the cell.

In article ,
Fred Holmes wrote:

Excel 2000, Windows 2000

A couple of questions:

In the number format dialog there are some "accounting" formats shown
as templates, e.g.:

_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)

Where is there a "complete" discussion of the syntax of these
formatting formulae? Not in the Excel Help that I can find. For
example, what does the enclosing "_(...)" do for the formatting? It
looks like there are a lot of possibilities here. I especially like
discovering a format where the "$" can be put at the left edge of the
cell, not adjacent to the number. But to find all of what the above
formula does, all I can to is plug in a bunch of different numbers and
see what happens.

Short of writing a macro (i.e., using the vba editor to write the
number format), is there any way to "open up" the number format dialog
so that one can read the entire format formula string all at once? I
suppose I could also write it "anywhere" and copy/paste it into the
provided text box (which is much too short for the above number format
formula to be fully displayed).

Many thanks,

Fred Holmes

  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

John Walkenbach has a file you can download that
demonstrates various custom number formats. This will get
you started:

http://j-walk.com/ss/excel/tips/tip19.htm

HTH
Jason
Atlanta, GA


-----Original Message-----
Excel 2000, Windows 2000

A couple of questions:

In the number format dialog there are some "accounting"

formats shown
as templates, e.g.:

_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)

Where is there a "complete" discussion of the syntax of

these
formatting formulae? Not in the Excel Help that I can

find. For
example, what does the enclosing "_(...)" do for the

formatting? It
looks like there are a lot of possibilities here. I

especially like
discovering a format where the "$" can be put at the

left edge of the
cell, not adjacent to the number. But to find all of

what the above
formula does, all I can to is plug in a bunch of

different numbers and
see what happens.

Short of writing a macro (i.e., using the vba editor to

write the
number format), is there any way to "open up" the number

format dialog
so that one can read the entire format formula string

all at once? I
suppose I could also write it "anywhere" and copy/paste

it into the
provided text box (which is much too short for the above

number format
formula to be fully displayed).

Many thanks,

Fred Holmes
.

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 formatting row when cell value is an even number hhunt Excel Worksheet Functions 5 February 2nd 05 09:29 PM
Custom Formatting a number Hari Prasadh Excel Discussion (Misc queries) 8 January 22nd 05 01:40 PM
Pivot Table Drill Down Number Formatting Gregg Riemer Excel Discussion (Misc queries) 1 January 4th 05 10:53 PM
Conditional Formatting (Date vs Number) [email protected] Excel Discussion (Misc queries) 7 December 20th 04 10:23 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM


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