Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Avoiding empty cells showing as zero in line chart without na()

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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Avoiding empty cells showing as zero in line chart without na()

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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a Vertical Line to a Column or Line Chart with two axes already in use? Alan Charts and Charting in Excel 6 December 13th 06 03:37 AM
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
Excel chart draws line outside Y axis pc Charts and Charting in Excel 2 July 24th 06 01:36 AM
how can I limit my chart Richard Erlacher Charts and Charting in Excel 7 March 7th 06 12:08 PM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 03:56 AM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"