Pie Charting with Missing and Changing Data

K

ksp

Hi All

I am trying to create a dynamic pie chart (has to be a pie chart) that
can automatically take into account the fact that the number of series
to be graphed each time changes, and that there may be missing data
within the list of data

The 'Plot Empty Cell' section under Tools -> Options does not seem to
apply to Pie Charts as I cannot select any of the options here

I have tried using the formula
=OFFSET('Sheet1'!$B$7,1,0,COUNTA('Sheet1'!$B:$B)-1,1) in the named
range for the data called Spend, and =OFFSET(Spend,0,-1) in the
corresponding data labels, but I this still graphs areas where there
are missing cells

Does anyone have any suggestions how to achieve this

Thanks

Karen
 
K

ksp

Hi Andy

Thanks for that - It seems to work however I have to manually delete
any data labels for that line that has missing data

Do you know of a way to get the data labels to also update with the
changing data? The link that you gave me says that it updates the
legand but not for me.

Thanks

Karen
 
A

Andy Pope

I just downloaded and test the workbook and it functions for me.
Zero items are removed from pie, data labels and legend.

To get rid of zero data labels use a custom number format (whole values
only)
0;;;

Cheers
Andy
 
K

ksp

I have to confess I was guilty of not reading the instructions properly
- something I give my users a hard time for

Thanks for your help this is going to save one of my users days worth
of work

Ta

KP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top