Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Change Excel Graph to Not Go to 0 for N/A values

Posted on 2011-03-07
3
Medium Priority
?
202 Views
Last Modified: 2012-05-11
Hi there - I'm looking for some help for a set of graphs I have. As you can see in the attached file, some of the data points have "N/A" for values because the data isn't available yet, and the chart brings the points all the way down to the 0. Is there a way to change this?

I know I can change the area of cells of data it shows, but I have about 8 of these reports to do frequently and changing all the charts would take quite a while, I'm looking for something more automated.

Please help if you can!
Thanks :)
Elizabeth
Example-Stack-Graphs.xlsx
0
Comment
Question by:AnalyticsTeam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 35065814
Hello,

for the data series, you only want to include the populated cells, no cells with N/A, no blank cells.

see attached. I created dynamic range names to include just the populated cells and fed these names into the series definition.

SeriesA      ='Example Data Set'!$W$4:INDEX('Example Data Set'!$W$4:$W$1000,MATCH(99^99,'Example Data Set'!$W$4:$W$1000,1))
SeriesB      =OFFSET(SeriesA,0,1)
SeriesC      =OFFSET(SeriesA,0,2)
SeriesD      =OFFSET(SeriesA,0,3)
SeriesE      =OFFSET(SeriesA,0,4)

The series definition must be entered like

='Example Data Set'!SeriesA

etc. When clicking OK, it will automatically change to

'Example-Stack-Graphs.xlsx'!SeriesA

I then included a dummy series that has the same number of rows as the X axis labels you want to include. It just points to a range of empty cells, and makes sure that the X axis extends beyond the last plotted data point.

Of course, your comparison chart is a 100% stacked area chart, whereas your other chart is a Stacked area chart. But the solution will apply to both types.

cheers, teylyn
Copy-of-Example-Stack-Graphs.xlsx
0
 
LVL 50
ID: 35065839
The idea behind the dynamic range names is, of course, that they will update automatically, so when you enter new data into your table, you don't have to adjust the charts.

Only when you extend the X axis, you will need to extend the dummy series by the same number of cells.

It is a liiiittle bit of setup work to create the dynamic ranges, but in the long run it will save you heaps of time.

Make sense?
0
 

Author Closing Comment

by:AnalyticsTeam
ID: 35065889
It does make sense, it's too late on east coast time to actually do it :) -- but I do understand. Thank you for your help Teylyn!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question