Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 177
Default Format millions in thousands with comma

I currently have the number (in general format)
20307710.83
but I want it to be
$20,308

I am currently using this as my format
_($* #,_);_($* (#,);_($* "-"??_);_(@_)
but that only results in
$20308

How do I add the comma?
Thanks in advance.



  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Format millions in thousands with comma

To format the number 20307710.83 as $20,308, you can use the following custom number format:

Formula:
$##,#0.0, 
Here are the steps to apply this format:
  1. Select the cell(s) containing the number you want to format.
  2. Right-click and select "Format Cells" from the context menu.
  3. In the Format Cells dialog box, select "Custom" from the Category list.
  4. In the Type field, enter the custom number format:
    Formula:
    $##,#0.0, 
  5. Click "OK" to apply the format to the selected cell(s).

This format will display the number with a dollar sign, a comma separator for thousands, and one decimal place. The trailing comma will ensure that the number is always displayed with three digits for the thousands place, even if the number is less than 10,000.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Format millions in thousands with comma

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

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"todd" wrote in message
...
I currently have the number (in general format)
20307710.83
but I want it to be
$20,308

I am currently using this as my format
_($* #,_);_($* (#,);_($* "-"??_);_(@_)
but that only results in
$20308

How do I add the comma?
Thanks in advance.





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Format millions in thousands with comma

In place of
#,
Use
###,###,
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"todd" wrote in message
...
I currently have the number (in general format)
20307710.83
but I want it to be
$20,308

I am currently using this as my format
_($* #,_);_($* (#,);_($* "-"??_);_(@_)
but that only results in
$20308

How do I add the comma?
Thanks in advance.




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
how to format Doe,John to Doe, John (space after a comma) asuncionw Excel Worksheet Functions 8 November 4th 05 02:56 PM
How do I format cells to round to the nearest thousands without .. excel user Excel Discussion (Misc queries) 1 March 16th 05 09:10 PM
How can I change the default 'comma' format. Eg paranthesis inste. Duncan Excel Discussion (Misc queries) 1 December 4th 04 01:51 AM
.CSV file format - comma or semi-colon? bavjean Excel Worksheet Functions 5 November 12th 04 01:26 PM
.CSV file format - comma or semi-colon antifashionpimp Excel Worksheet Functions 1 November 10th 04 02:18 PM


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