ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I suppress a zero value or #VALUE! for a Pivot calculated i (https://www.excelbanter.com/excel-discussion-misc-queries/257459-how-do-i-suppress-zero-value-value-pivot-calculated-i.html)

djl

How do I suppress a zero value or #VALUE! for a Pivot calculated i
 
I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with #VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks

Vital_ar[_2_]

How do I suppress a zero value or #VALUE! for a Pivot calculated i
 
Hai,
Try this I didn't try it. Just given like that
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),(SUM(Budget)-SUM(Actual)=0)),"",SUM(Budget)-SUM(Actual))
--
Regards


"DJL" wrote:

I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with #VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks


djl

How do I suppress a zero value or #VALUE! for a Pivot calculat
 
No, it doesn't work - it is still showing #VALUE! for the non relevant records

"Vital_ar" wrote:

Hai,
Try this I didn't try it. Just given like that
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),(SUM(Budget)-SUM(Actual)=0)),"",SUM(Budget)-SUM(Actual))
--
Regards


"DJL" wrote:

I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with #VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks


Pritesh[_2_]

How do I suppress a zero value or #VALUE! for a Pivot calculated i
 
Use 0 instead of "" in your forlula.

Use IFERROR instead of ISERROR.

Use IFERROR at the beginning of formula not inbetween the formula.

Try below formula;

=IFERROR(SUM(Budget)-SUM(Actual),0)

Regards,
Pritesh


"DJL" wrote:

I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with #VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks


Eduardo

How do I suppress a zero value or #VALUE! for a Pivot calculat
 
Hi,

=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),(SUM(Budget)-SUM(Actual))=0),"",SUM(Budget)-SUM(Actual))

"DJL" wrote:

No, it doesn't work - it is still showing #VALUE! for the non relevant records

"Vital_ar" wrote:

Hai,
Try this I didn't try it. Just given like that
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),(SUM(Budget)-SUM(Actual)=0)),"",SUM(Budget)-SUM(Actual))
--
Regards


"DJL" wrote:

I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with #VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks


Roger Govier[_8_]

How do I suppress a zero value or #VALUE! for a Pivot calculated i
 
Hi

Right click on the PTTable Optionscheck Show Error values as, and either
leave as blank or set to 0 as you wish.

--
-------
Regards
Roger Govier

"DJL" wrote in message
...
I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the
formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with
#VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks

__________ Information from ESET Smart Security, version of virus
signature database 4897 (20100226) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4897 (20100226) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4901 (20100227) __________

The message was checked by ESET Smart Security.

http://www.eset.com




djl

How do I suppress a zero value or #VALUE! for a Pivot calculat
 
I am still getting the #VALUE! cells. I am wanting the Pivot Table to
exclude these records depending on the page setting as not all row fields
apply to every page setting

"Eduardo" wrote:

Hi,

=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),(SUM(Budget)-SUM(Actual))=0),"",SUM(Budget)-SUM(Actual))

"DJL" wrote:

No, it doesn't work - it is still showing #VALUE! for the non relevant records

"Vital_ar" wrote:

Hai,
Try this I didn't try it. Just given like that
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),(SUM(Budget)-SUM(Actual)=0)),"",SUM(Budget)-SUM(Actual))
--
Regards


"DJL" wrote:

I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with #VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks


Fred Smith[_4_]

How do I suppress a zero value or #VALUE! for a Pivot calculated i
 
Unfortunately IFERROR works only in XL2007. The OP probably has XL2003 or
earlier.

Your suggestion of changing "" to 0 is good, though.

Regards,
Fred

"Pritesh" wrote in message
...
Use 0 instead of "" in your forlula.

Use IFERROR instead of ISERROR.

Use IFERROR at the beginning of formula not inbetween the formula.

Try below formula;

=IFERROR(SUM(Budget)-SUM(Actual),0)

Regards,
Pritesh


"DJL" wrote:

I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the
formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with
#VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks



djl

How do I suppress a zero value or #VALUE! for a Pivot calculat
 
Thanks, that removes the #VALUE!s but it does not suppress the records that
have no data. It shows ALL the rows on each page but I only want the rows
showing that has data for that page setting. I have checked that all fields
do not have the "show items with no data" selected.


"Roger Govier" wrote:

Hi

Right click on the PTTable Optionscheck Show Error values as, and either
leave as blank or set to 0 as you wish.

--
-------
Regards
Roger Govier

"DJL" wrote in message
...
I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the
formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with
#VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks

__________ Information from ESET Smart Security, version of virus
signature database 4897 (20100226) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4897 (20100226) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4901 (20100227) __________

The message was checked by ESET Smart Security.

http://www.eset.com




Roger Govier[_8_]

How do I suppress a zero value or #VALUE! for a Pivot calculat
 
Hi

If you want to send me the file, I will take a look
roger at technology4u dot co dot uk
Change the at and dots to make valid email address
--
Regards
Roger Govier

DJL wrote:
Thanks, that removes the #VALUE!s but it does not suppress the records that
have no data. It shows ALL the rows on each page but I only want the rows
showing that has data for that page setting. I have checked that all fields
do not have the "show items with no data" selected.


"Roger Govier" wrote:

Hi

Right click on the PTTable Optionscheck Show Error values as, and either
leave as blank or set to 0 as you wish.

--
-------
Regards
Roger Govier

"DJL" wrote in message
...
I have entered the following formula within a new calculated item to
calculate the variance between actual and budget values with the view to
making zero values or error values a blank cell. When I insert the
formula
it removes the logic of only displaying the records relevant to the page
setting and I get the same records repeated for each page setting with
#VALUE!

Variance
=IF(OR(ISERROR(SUM(Budget)-SUM(Actual)),SUM(Budget)-SUM(Actual)=0),"",SUM(Budget)-SUM(Actual))

Thanks

__________ Information from ESET Smart Security, version of virus
signature database 4897 (20100226) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4897 (20100226) __________

The message was checked by ESET Smart Security.

http://www.eset.com




__________ Information from ESET Smart Security, version of virus signature database 4901 (20100227) __________

The message was checked by ESET Smart Security.

http://www.eset.com




[email protected]

How do I suppress a zero value or #VALUE! for a Pivot calculated i
 
On Friday, February 26, 2010 at 3:56:24 AM UTC-8, Roger Govier wrote:
Hi

Right click on the PTTable Optionscheck Show Error values as, and either
leave as blank or set to 0 as you wish.

--
-------
Regards
Roger Govier


Thank you SO MUCH for this!


All times are GMT +1. The time now is 10:25 PM.

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