Hide line and legend when data not present

T

tomeckstein

I have a line graph with five lines on it. The graph looks at a range of cells for the data to graph for each of these lines. This range of cells are populated with data depending which of 52 different data set the person wishes to look at. However, not all data sets have data for all the lines, therefore some graphs actually only need two to five of the lines to be populated. I have it set up such that the line doesn't show, but the legend remains for all five lines regardless of whether data is present. How can Igo about making the legend populated only when there is data present for that line? Thanks.
 

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