Thamizh Bharat 0 Newbie Poster

Hi,

How do I write a VBA function to display blank if I want to refer to a blank value in pivot? Excel shows 0 in such cases. I don't want to handle this using

=IF(formula="","",formula)

since it involves repeating the formula twice.
Please let me know how i can write a user defined function for this. I am looking for a function like IFERROR say IFBLANK(formula,"") which accepts the formula and returns blank if the formula evaluates to "". Note: zero should be displayed only if the value in the pivot is 0.

Regards,
Bharat.