Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#11
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivottable calculated item - how to suppress zero? | Excel Worksheet Functions | |||
Suppress Zeros in a Pivot Table | Excel Discussion (Misc queries) | |||
suppress zeros in a pivot chart | Excel Discussion (Misc queries) | |||
Calculated Field and Calculated Item in Pivot Table | Excel Discussion (Misc queries) | |||
pivot table formulas for calculated field or calculated item | Excel Discussion (Misc queries) |