Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
I'm using a line graph to show trends in a multi-question
questionnaire. Like many else (I've done a lot of searching but haven't found a suitable solution) my line graph jumps to zero for the empty cells (currently defined as ""). I understand I could just change this to na() instead but then my average() calculation stops working. I have a lot of data so making two separate data-series is not feasible. Can anyone help me with a suggestion here? Thanks! |
#2
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
It's not feasible to have parallel data ranges? It's more feasible to spend
lots of time trying to workaround the problem? Here are a couple suggestions: 1. Use conditional formatting to hide the #N/A errors and array formulas like {=AVERAGE(IF(ISNA(range),,range))} for the calculations. This approach is fine for smaller data sets, or if formatting isn't too critical. 2. Have two sets of data, one for tabular presentation (two for tabular presentation if you want one optimized for onscreen and another for printout) and one for charting. With appropriate formulas, they will remain linked, and reflect the same information. You can put them on separate regions of the same worksheet or on separate worksheets. It would take a few extra minutes to set up initially, but it will save you probably hours of frustration later. I prefer this approach for larger data sets, and cases where formatting is important. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ wrote in message ups.com... I'm using a line graph to show trends in a multi-question questionnaire. Like many else (I've done a lot of searching but haven't found a suitable solution) my line graph jumps to zero for the empty cells (currently defined as ""). I understand I could just change this to na() instead but then my average() calculation stops working. I have a lot of data so making two separate data-series is not feasible. Can anyone help me with a suggestion here? Thanks! |
#3
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Hi,
You could change the average formula such that NA() can be used, =AVERAGE(IF(ISNUMBER(A1:A10),A1:A10)) Array formula so commit with CTRL+SHIFT+ENTER Cheers Andy wrote: I'm using a line graph to show trends in a multi-question questionnaire. Like many else (I've done a lot of searching but haven't found a suitable solution) my line graph jumps to zero for the empty cells (currently defined as ""). I understand I could just change this to na() instead but then my average() calculation stops working. I have a lot of data so making two separate data-series is not feasible. Can anyone help me with a suggestion here? Thanks! -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to add a Vertical Line to a Column or Line Chart with two axes already in use? | Charts and Charting in Excel | |||
Calculating only non-empty cells... | Excel Worksheet Functions | |||
Excel chart draws line outside Y axis | Charts and Charting in Excel | |||
how can I limit my chart | Charts and Charting in Excel | |||
pivot table multi line chart | Charts and Charting in Excel |