get zeros in data table of chart

Mifty

New Member
Joined
Sep 9, 2011
Messages
6
Hi,

I have a master sheet which returns data based on an index/match formula. When the school number is changed in cell AQ1 all the data ranges for the charts in the sheet are recalculated to reflect the specific data for that school. The aim is to have a generic report which pulls data automatically in to the master sheet report. I've got some code which will change the school number automatically in AQ1 based on a list and makes a value only copy of the sheet for each school. Some schools do subjects that other schools don't but so that we have a generic report, charts with data tables are displayed for all subjects.

The index/match formulas returns 0 if the range is blank but if I change the range to text with ' then the index match returns a blank, the chart based on the range is then blank but the data table dislays zeros.

Is there anything I can do so that values are automatically dispayed when they are returned but that blanks are not displayed as zeros on the data table of the chart?
Many thanks:confused:
Mifty
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi Mifty,

Welcome to the formums.

Generally, if i don't want a data point to show, i have the formula return:

NA() instead of 2 quotes (blank)

Most Excel Charts don't plot #NA

example: =if(a1=0,NA(),a1)

Hope this helps

Steve=True
www.exceldashboardtemplates.com
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,681
Members
452,937
Latest member
Bhg1984

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