Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel 2000.
I have a calculated field in my pivot table that simply divides one field by another. The formula is =my_numerator/my_denominator. The underlying data in the numerator field can legitimately be a) an integer greater than or equal to zero, or b) an empty cell. The empty cell and zero are NOT the same thing. What I want is: a) When my_numerator is zero and is divided by my_denominator, a zero is returned. b) When my_numerator is the empty cell and is divided by my_denominator, an empty cell is returned. At the moment, when my_numerator is the empty cell and is divided by my_denominator, a zero is returned, which is incorrect. What can I do? Regards GPO |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi GPO,
ISBLANK should fix that for you, something like =IF(ISBLANK(my_numerator),"",my_numerator/my_denominator) HTH Martin "GPO" wrote in message ... Excel 2000. I have a calculated field in my pivot table that simply divides one field by another. The formula is =my_numerator/my_denominator. The underlying data in the numerator field can legitimately be a) an integer greater than or equal to zero, or b) an empty cell. The empty cell and zero are NOT the same thing. What I want is: a) When my_numerator is zero and is divided by my_denominator, a zero is returned. b) When my_numerator is the empty cell and is divided by my_denominator, an empty cell is returned. At the moment, when my_numerator is the empty cell and is divided by my_denominator, a zero is returned, which is incorrect. What can I do? Regards GPO |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculated Fields in Pivot Tables | Excel Worksheet Functions | |||
Calculated fields-Pivot tables | Excel Worksheet Functions | |||
Pivot tables - calculated fields | Excel Worksheet Functions | |||
pivot tables - calculated fields | Excel Worksheet Functions | |||
Pivot Tables, calculated fields | Excel Discussion (Misc queries) |