Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings! Have created a custom field in a pivottable whose zeros are
configured to be displayed as blank cells. The custom field uses an =IF(A,B,C) formula. If I don't define C, then the cell appears to be populated with zero, and displays as such in spite of the pivottable setting. Question: is there some function, or constant, that can be used in C such that there is no value applied to that cell from the formula and it displays as a blank, not a zero? Empty() and Null() don't work. Played with this a little, determined that I can apply a custom display format to the field where zero's aren't displayed, but would like to handle this via a persistent formula rather than a back-end display format. Thanks for any ideas! George |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Aug 3, 9:22 pm, "G Lykos" wrote:
Greetings! Have created a custom field in a pivottable whose zeros are configured to be displayed as blank cells. The custom field uses an =IF(A,B,C) formula. If I don't define C, then the cell appears to be populated with zero, and displays as such in spite of the pivottable setting. Question: is there some function, or constant, that can be used in C such that there is no value applied to that cell from the formula and it displays as a blank, not a zero? Empty() and Null() don't work. Played with this a little, determined that I can apply a custom display format to the field where zero's aren't displayed, but would like to handle this via a persistent formula rather than a back-end display format. Thanks for any ideas! George If(A,B,"") |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That's a double quote, it may be hard to see
|
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks. Believe I tried this, and it resulted in a #VALUE error.
"AndrewArmstrong" wrote in message oups.com... That's a double quote, it may be hard to see |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No, a calculated field can't return a null or a blank cell.
G Lykos wrote: Greetings! Have created a custom field in a pivottable whose zeros are configured to be displayed as blank cells. The custom field uses an =IF(A,B,C) formula. If I don't define C, then the cell appears to be populated with zero, and displays as such in spite of the pivottable setting. Question: is there some function, or constant, that can be used in C such that there is no value applied to that cell from the formula and it displays as a blank, not a zero? Empty() and Null() don't work. Played with this a little, determined that I can apply a custom display format to the field where zero's aren't displayed, but would like to handle this via a persistent formula rather than a back-end display format. Thanks for any ideas! George -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Okay. Is it then a bug that a zero in a calculated field displays as zero
with General format applied in spite of the pivottable being configured such that cells with a zero display as blank? "Debra Dalgleish" wrote in message ... No, a calculated field can't return a null or a blank cell. G Lykos wrote: Greetings! Have created a custom field in a pivottable whose zeros are configured to be displayed as blank cells. The custom field uses an =IF(A,B,C) formula. If I don't define C, then the cell appears to be populated with zero, and displays as such in spite of the pivottable setting. Question: is there some function, or constant, that can be used in C such that there is no value applied to that cell from the formula and it displays as a blank, not a zero? Empty() and Null() don't work. Played with this a little, determined that I can apply a custom display format to the field where zero's aren't displayed, but would like to handle this via a persistent formula rather than a back-end display format. Thanks for any ideas! George -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How did you configure it? What is the formula for the calculated field?
G Lykos wrote: Okay. Is it then a bug that a zero in a calculated field displays as zero with General format applied in spite of the pivottable being configured such that cells with a zero display as blank? "Debra Dalgleish" wrote in message ... No, a calculated field can't return a null or a blank cell. G Lykos wrote: Greetings! Have created a custom field in a pivottable whose zeros are configured to be displayed as blank cells. The custom field uses an =IF(A,B,C) formula. If I don't define C, then the cell appears to be populated with zero, and displays as such in spite of the pivottable setting. Question: is there some function, or constant, that can be used in C such that there is no value applied to that cell from the formula and it displays as a blank, not a zero? Empty() and Null() don't work. Played with this a little, determined that I can apply a custom display format to the field where zero's aren't displayed, but would like to handle this via a persistent formula rather than a back-end display format. Thanks for any ideas! George -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
custom field with custom formula in pivot table! | Excel Worksheet Functions | |||
Want blank cell displayed if indirectly referenced value is zero | Excel Worksheet Functions | |||
Can I create PivotTable formula using count of field not sum? | Excel Discussion (Misc queries) | |||
pivottable formula : maximum one field - minimum of another one | Excel Discussion (Misc queries) | |||
PivotTable - PivotTable Field name is not valid - error! | Excel Programming |