Excel Chart: Ignore Null Values

Solved
Charles -  
 Charles -
Hello everyone,

after receiving some valuable assistance from you, I won't be able to do without you anymore :)

So here is my new issue, which is certainly not one for most of you.

I am using Excel and would like to create a chart. The problem is that within my data range, there are some null values, and I don't want them to appear. I remember seeing an option like "Ignore if blank" or something similar, but I can't seem to find it, and having switched a few times between Open Office and Excel, maybe I'm confusing things?

Additionally, another question: do you know if it's possible to create a "sliding" chart, meaning to only take the last X cells of a column, even after adding new data? So I don't have to manually modify the displayed data range.

Thank you for your time and help.

Charles

Configuration: Windows XP / Safari 533.4

10 réponses

eriiic Posted messages 24581 Registration date   Status Contributeur Last intervention   7 281
 
Good evening everyone,

In the options (on 2003) you can choose the treatment for empty cells, not for the value 0.

To not display these points with a formula, replace 0 with =NA() (create an extra column if needed),
or set an automatic filter and filter on <>0

To display, for example, the last 10 values, you need to name dynamic ranges in the form =OFFSET($A$2,COUNTA(A:A)-11,0,10,1)
Then you select your curve and replace the ranges with their names.

See attached file with filtered 0s, NA(), and display of the last 10 values

eric

PS: an excellent site for dynamic charts (and many other things), that of J. Boigontier http://boisgontierjacques.free.fr/pages_site/graphiques.htm#GraphiqueDynamique
8