If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Handling blank data points
I have a chart which is has "" in a formula to clear contents when not
applicable to show error. This results in the chart treating the cell as 0 and therefore ugly result in data point. All other post responses to this type of question suggest using NA() and conditional formation to hide the error.. Unfortunately when this is used this screws up my SUM() and AVG() formulas.. Any other suggestions? Thanks Jo |
#2
|
|||
|
|||
Handling blank data points
Hi Jo,
I don't know if this is the best way but what I have done under similar circumstances is use the #N/A for the chart series data column and then I use a helper column. In the helper column I insert the following formula (Assuming that column B is the chart series data and the following formula is in any other column. =IF(ISERROR(B2),0,B2) That way I have a column that includes the zeros for the math functions. You can still place the sum and average formulas at the bottom (or wherever) of column B but they actually sum and average the data in the helper column. Hide the helper column if desired. You can even place the helper column on another worksheet and hide the worksheet. -- Regards, OssieMac "jo2109" wrote: I have a chart which is has "" in a formula to clear contents when not applicable to show error. This results in the chart treating the cell as 0 and therefore ugly result in data point. All other post responses to this type of question suggest using NA() and conditional formation to hide the error.. Unfortunately when this is used this screws up my SUM() and AVG() formulas.. Any other suggestions? Thanks Jo |
#3
|
|||
|
|||
Handling blank data points
You probably want =IF(ISERROR(B2),"",B2) [or more specifically
=IF(ISNA(B2),"",B2) ] rather than =IF(ISERROR(B2),0,B2), as the zeroes could screw up your averages. -- David Biddulph "OssieMac" wrote in message ... Hi Jo, I don't know if this is the best way but what I have done under similar circumstances is use the #N/A for the chart series data column and then I use a helper column. In the helper column I insert the following formula (Assuming that column B is the chart series data and the following formula is in any other column. =IF(ISERROR(B2),0,B2) That way I have a column that includes the zeros for the math functions. You can still place the sum and average formulas at the bottom (or wherever) of column B but they actually sum and average the data in the helper column. Hide the helper column if desired. You can even place the helper column on another worksheet and hide the worksheet. -- Regards, OssieMac "jo2109" wrote: I have a chart which is has "" in a formula to clear contents when not applicable to show error. This results in the chart treating the cell as 0 and therefore ugly result in data point. All other post responses to this type of question suggest using NA() and conditional formation to hide the error.. Unfortunately when this is used this screws up my SUM() and AVG() formulas.. Any other suggestions? Thanks Jo |
#4
|
|||
|
|||
Handling blank data points
Thanks for the tip but unfortunately the "" is not just in one cell but is
part of a formula for many cells and may be the outcome for a number of data points. Your suggestion simply leads me to believe that to alleviate the issue I need to totally replicate my numbers for to pick up the 'pretty' number for one part and the data series to plot as another.. I'm hoping not to replicate the whole section simply to have the graph not plot null data. "David Biddulph" wrote: You probably want =IF(ISERROR(B2),"",B2) [or more specifically =IF(ISNA(B2),"",B2) ] rather than =IF(ISERROR(B2),0,B2), as the zeroes could screw up your averages. -- David Biddulph "OssieMac" wrote in message ... Hi Jo, I don't know if this is the best way but what I have done under similar circumstances is use the #N/A for the chart series data column and then I use a helper column. In the helper column I insert the following formula (Assuming that column B is the chart series data and the following formula is in any other column. =IF(ISERROR(B2),0,B2) That way I have a column that includes the zeros for the math functions. You can still place the sum and average formulas at the bottom (or wherever) of column B but they actually sum and average the data in the helper column. Hide the helper column if desired. You can even place the helper column on another worksheet and hide the worksheet. -- Regards, OssieMac "jo2109" wrote: I have a chart which is has "" in a formula to clear contents when not applicable to show error. This results in the chart treating the cell as 0 and therefore ugly result in data point. All other post responses to this type of question suggest using NA() and conditional formation to hide the error.. Unfortunately when this is used this screws up my SUM() and AVG() formulas.. Any other suggestions? Thanks Jo |
Thread Tools | |
Display Modes | |
|
|