A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Excel Chart



 
 
Thread Tools Display Modes
  #1  
Old November 1st, 2003, 06:39 AM
John
external usenet poster
 
Posts: n/a
Default Excel Chart

I am developing a chart on Excel. I have two columns
with numbers. A third column has a formula to average
the two numbers. I want to graph the average. Problem
is my graph looks bad. If I enter the two numbers, they
are averaged in the third column and graphed correctly.
The problem is Excel interprets rows that have not been
entered as zero and graphs them as zero.

I would like rows that have not yet have data entered
into them to be treated as if there is no data and thus
not be graphed.

Hope someone can help me? I need this for a project I
working on to graph the pH of a pond.

thanks
John
  #2  
Old November 1st, 2003, 12:46 PM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default Excel Chart

Use the NA function in the formula, and the cells won't be plotted as
zero. For example:
=IF(AND(B2="",C2=""),NA(),AVERAGE(B2:C2))

Your worksheet will show #N/A errors which you can hide with conditional
formatting. There are instructions he

http://contextures.com/xlCondFormat03.html#Errors

John wrote:
I am developing a chart on Excel. I have two columns
with numbers. A third column has a formula to average
the two numbers. I want to graph the average. Problem
is my graph looks bad. If I enter the two numbers, they
are averaged in the third column and graphed correctly.
The problem is Excel interprets rows that have not been
entered as zero and graphs them as zero.

I would like rows that have not yet have data entered
into them to be treated as if there is no data and thus
not be graphed.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3  
Old November 1st, 2003, 12:48 PM
Jerry W. Lewis
external usenet poster
 
Posts: n/a
Default Excel Chart

Use

=IF(COUNT(A2:B2)=0,#N/A,AVERAGE(A2:B2))

for your average column.

Jerry

John wrote:

I am developing a chart on Excel. I have two columns
with numbers. A third column has a formula to average
the two numbers. I want to graph the average. Problem
is my graph looks bad. If I enter the two numbers, they
are averaged in the third column and graphed correctly.
The problem is Excel interprets rows that have not been
entered as zero and graphs them as zero.

I would like rows that have not yet have data entered
into them to be treated as if there is no data and thus
not be graphed.

Hope someone can help me? I need this for a project I
working on to graph the pH of a pond.

thanks
John


  #4  
Old November 2nd, 2003, 06:41 AM
John Pfeiffer
external usenet poster
 
Posts: n/a
Default Excel Chart

Thank you. I will give this a try.

John
-----Original Message-----
Use the NA function in the formula, and the cells won't

be plotted as
zero. For example:
=IF(AND(B2="",C2=""),NA(),AVERAGE(B2:C2))

Your worksheet will show #N/A errors which you can hide

with conditional
formatting. There are instructions he

http://contextures.com/xlCondFormat03.html#Errors

John wrote:
I am developing a chart on Excel. I have two columns
with numbers. A third column has a formula to average
the two numbers. I want to graph the average.

Problem
is my graph looks bad. If I enter the two numbers,

they
are averaged in the third column and graphed

correctly.
The problem is Excel interprets rows that have not

been
entered as zero and graphs them as zero.

I would like rows that have not yet have data entered
into them to be treated as if there is no data and

thus
not be graphed.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

.

  #5  
Old November 2nd, 2003, 06:43 AM
John Pfeiffer
external usenet poster
 
Posts: n/a
Default Excel Chart

Thank you. I will give this a try too.

John



-----Original Message-----
Use

=IF(COUNT(A2:B2)=0,#N/A,AVERAGE(A2:B2))

for your average column.

Jerry

John wrote:

I am developing a chart on Excel. I have two columns
with numbers. A third column has a formula to average
the two numbers. I want to graph the average.

Problem
is my graph looks bad. If I enter the two numbers,

they
are averaged in the third column and graphed

correctly.
The problem is Excel interprets rows that have not

been
entered as zero and graphs them as zero.

I would like rows that have not yet have data entered
into them to be treated as if there is no data and

thus
not be graphed.

Hope someone can help me? I need this for a project I
working on to graph the pH of a pond.

thanks
John


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:39 PM.


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