Charting values where a formula is caluculated

Fiona

New Member
Joined
Mar 10, 2002
Messages
3
I am charting the average of my students' fluency progress over 10 weeks. In the spreadsheet I have set up, there is a formula set up to calculate the class average in their weekly test. This is then linked to a chart which updates automatically. However, for weeks where there is no data yet (for example, we are in week 6, so weeks 7-10 have no results yet) the cell where the formula for the average is displays #DIV?0! and this value is plotted as zero on the chart. Is there any way I can leave the formula in the cell but not have the chart plot this value as zero (or anything) until there are values to be averaged?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
On 2002-03-11 19:02, Fiona wrote:
I am charting the average of my students' fluency progress over 10 weeks. In the spreadsheet I have set up, there is a formula set up to calculate the class average in their weekly test. This is then linked to a chart which updates automatically. However, for weeks where there is no data yet (for example, we are in week 6, so weeks 7-10 have no results yet) the cell where the formula for the average is displays #DIV?0! and this value is plotted as zero on the chart. Is there any way I can leave the formula in the cell but not have the chart plot this value as zero (or anything) until there are values to be averaged?

Yes, assuming your formula is A1/A2, try this:

=IF(A2=0,NA(),A1/A2)

Excel will not chart the NA() value.

Regards,
 
Upvote 0

Forum statistics

Threads
1,213,485
Messages
6,113,931
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top