ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formatting number cells (https://www.excelbanter.com/excel-discussion-misc-queries/33029-formatting-number-cells.html)

geoff

Formatting number cells
 
I want to show a zero as a dash and negative numbers as (#). I can do
one or the other but how can I do both?

Is there any reference which explains the format specification in the
custom list of options.?


Ron Rosenfeld

On 29 Jun 2005 08:00:48 -0700, "geoff" wrote:

I want to show a zero as a dash and negative numbers as (#). I can do
one or the other but how can I do both?


Format/Cells/Number Custom Type: #;"(#)";-


Is there any reference which explains the format specification in the
custom list of options.?


type "Number Format Codes" into HELP


--ron

geoff

Many thanks,
Geoff



All times are GMT +1. The time now is 05:40 PM.

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