![]() |
|
#1
|
|||
|
|||
|
There seems to be something wrong with a certain custom number format. This is the custom entry I made:
Code:
General;-General;"";@ It should display any number as I entered it except for 0. As you can see in column A of my worksheet, when I enter a number with this format the number is treated as text, not a number. Bug 2: In column B, I entered 0's and converted them to values, but the 0's display even though the format is supposed to suppress them. What gives? I want a custom format where numbers are displayed as General but not zeros. |
|
#2
|
|||
|
|||
|
Format both columns as "0;-0;;@"
You can enter 0's, but they aren't displayed. NB! the value of cell with entered 0 in it remains 0, Formatting cant change the value in cell (date format will be exception, as with it whenever the entered value can be interpreted as date, the Excel itself takes over and replaces the entry with date in current format) - it only affects how this value will be displayed! |
|
#3
|
|||
|
|||
|
Not sure what you mean by NB. the problem with "0;-0;;@" is that if I enter a number as a decimal, it rounds off to the nearest integer. That's why I was using my formula:
"General;-General;;@" It would seem to display the number as entered except for zeros, but as I said, it seems to create strange problems. I don't understand why my formula does not work |
|
#4
|
|||
|
|||
|
It seems to with without the @ symbol at the end: "General;-General;;"
But then it is blank when I enter text. I don't see why including the @ screws up the format. |
|
#5
|
|||
|
|||
|
I've posted a spreadsheet which shows I can't use "General" in the format without either suppressing Text or not suppressing zeros
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Using certain values in custom number format for vertical chart axis?
|
laith93 | Word | 6 | 08-02-2021 11:31 PM |
Custom format 4 digit number to 0:00
|
Marcia | Excel | 5 | 06-05-2021 11:06 PM |
Creating a custom number format
|
bremen22 | Excel | 2 | 01-16-2014 07:23 AM |
| Custom Number Format for Chart | deadrxn24 | Word | 4 | 03-18-2012 05:38 PM |
custom number format: change thousands separator
|
Ward | Excel | 1 | 06-07-2011 08:18 PM |