ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Display 0's in Accounting format (https://www.excelbanter.com/excel-discussion-misc-queries/16520-display-0s-accounting-format.html)

markvi

Display 0's in Accounting format
 
I use the Accounting format to align numbers and dollar signs. How can I make
zero display as the number rather than a dash?
--
- markvi

Peo Sjoblom

_($* #,##0.00_);_($* (#,##0.00);_($* 0.00_);_(@_)


--

Regards,

Peo Sjoblom


"markvi" wrote in message
...
I use the Accounting format to align numbers and dollar signs. How can I

make
zero display as the number rather than a dash?
--
- markvi




tjtjjtjt

Use this Custom Number Format:
_($* #,##0.00_);_($* (#,##0.00);_($* 0??_);_(@_)

This is the code for Excel's built-in Accounting Style with the dash
replaced with a zero. Look after the second semicolon to see the change
(demonstrated below).
This: _($* "-"??_)
has been changed to: _($* 0??_)

tj

"markvi" wrote:

I use the Accounting format to align numbers and dollar signs. How can I make
zero display as the number rather than a dash?
--
- markvi


markvi

Thanks to you both!

"tjtjjtjt" wrote:

Use this Custom Number Format:
_($* #,##0.00_);_($* (#,##0.00);_($* 0??_);_(@_)

This is the code for Excel's built-in Accounting Style with the dash
replaced with a zero. Look after the second semicolon to see the change
(demonstrated below).
This: _($* "-"??_)
has been changed to: _($* 0??_)

tj

"markvi" wrote:

I use the Accounting format to align numbers and dollar signs. How can I make
zero display as the number rather than a dash?
--
- markvi



All times are GMT +1. The time now is 07:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com