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  

Line chart zero values



 
 
Thread Tools Display Modes
  #1  
Old June 16th, 2004, 02:48 PM
Walshy
external usenet poster
 
Posts: n/a
Default Line chart zero values

I am trying to do a automated line chart that updates as
users input over the next 12 weeks... the chart is
consisting of 12 weeks on the x axis and % on the y.
The problem im having is the values in the table that the
chart is picking up from are formulas... but if the
formula result is zero or ""(blank) I want the line chart
to ignore it... rather than plot zero values making the
line drop when a nil value or blank... for rest of the
whole 12 weeks...?

eg

week 1 = 10%
week 2 = 11%
week 3 =

I want the line to stop at week 2...? but because to work
out the % is a formula the line is carrying on ?

example of the formula is =if(a1="","",a1/100)

Can anyone help me on this please ???

  #2  
Old June 16th, 2004, 03:05 PM
Andy Pope
external usenet poster
 
Posts: n/a
Default Line chart zero values

Hi,

Try using NA() instead of ""

Walshy wrote:

I am trying to do a automated line chart that updates as
users input over the next 12 weeks... the chart is
consisting of 12 weeks on the x axis and % on the y.
The problem im having is the values in the table that the
chart is picking up from are formulas... but if the
formula result is zero or ""(blank) I want the line chart
to ignore it... rather than plot zero values making the
line drop when a nil value or blank... for rest of the
whole 12 weeks...?

eg

week 1 = 10%
week 2 = 11%
week 3 =

I want the line to stop at week 2...? but because to work
out the % is a formula the line is carrying on ?

example of the formula is =if(a1="","",a1/100)

Can anyone help me on this please ???


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3  
Old June 16th, 2004, 03:22 PM
external usenet poster
 
Posts: n/a
Default Line chart zero values

Thanks you loads for looking, I have tried :

=if(a1="",n/a(),"a1/100)
but this returns #name for the answer and line carries
on ???

also tried putting :

=if(a1="","n/a()","a1/100)
but displays n/a() and chart line still carries on ???


Am I doing this right ?

-----Original Message-----
Hi,

Try using NA() instead of ""

Walshy wrote:

I am trying to do a automated line chart that updates

as
users input over the next 12 weeks... the chart is
consisting of 12 weeks on the x axis and % on the y.
The problem im having is the values in the table that

the
chart is picking up from are formulas... but if the
formula result is zero or ""(blank) I want the line

chart
to ignore it... rather than plot zero values making the
line drop when a nil value or blank... for rest of the
whole 12 weeks...?

eg

week 1 = 10%
week 2 = 11%
week 3 =

I want the line to stop at week 2...? but because to

work
out the % is a formula the line is carrying on ?

example of the formula is =if(a1="","",a1/100)

Can anyone help me on this please ???


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
.

  #4  
Old June 16th, 2004, 03:31 PM
external usenet poster
 
Posts: n/a
Default Line chart zero values

Its ok, I played about with n/a and have sorted it !!!
Thank you very much !!!

ended up :

=if(a1="",#n/a,"a1/100) - this worked !!! WEAH !!!

-----Original Message-----
Thanks you loads for looking, I have tried :

=if(a1="",n/a(),"a1/100)
but this returns #name for the answer and line carries
on ???

also tried putting :

=if(a1="","n/a()","a1/100)
but displays n/a() and chart line still carries on ???


Am I doing this right ?

-----Original Message-----
Hi,

Try using NA() instead of ""

Walshy wrote:

I am trying to do a automated line chart that updates

as
users input over the next 12 weeks... the chart is
consisting of 12 weeks on the x axis and % on the y.
The problem im having is the values in the table that

the
chart is picking up from are formulas... but if the
formula result is zero or ""(blank) I want the line

chart
to ignore it... rather than plot zero values making

the
line drop when a nil value or blank... for rest of the
whole 12 weeks...?

eg

week 1 = 10%
week 2 = 11%
week 3 =

I want the line to stop at week 2...? but because to

work
out the % is a formula the line is carrying on ?

example of the formula is =if(a1="","",a1/100)

Can anyone help me on this please ???


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
.

.

  #5  
Old June 16th, 2004, 04:09 PM
Andy Pope
external usenet poster
 
Posts: n/a
Default Line chart zero values

Actually I was referring to the worksheet function
=NA()

but if #N/A works for you thats cool.

wrote:

Its ok, I played about with n/a and have sorted it !!!
Thank you very much !!!

ended up :

=if(a1="",#n/a,"a1/100) - this worked !!! WEAH !!!


-----Original Message-----
Thanks you loads for looking, I have tried :

=if(a1="",n/a(),"a1/100)
but this returns #name for the answer and line carries
on ???

also tried putting :

=if(a1="","n/a()","a1/100)
but displays n/a() and chart line still carries on ???


Am I doing this right ?


-----Original Message-----
Hi,

Try using NA() instead of ""

Walshy wrote:


I am trying to do a automated line chart that updates


as

users input over the next 12 weeks... the chart is
consisting of 12 weeks on the x axis and % on the y.
The problem im having is the values in the table that


the

chart is picking up from are formulas... but if the
formula result is zero or ""(blank) I want the line


chart

to ignore it... rather than plot zero values making


the

line drop when a nil value or blank... for rest of the
whole 12 weeks...?

eg

week 1 = 10%
week 2 = 11%
week 3 =

I want the line to stop at week 2...? but because to


work

out the % is a formula the line is carrying on ?

example of the formula is =if(a1="","",a1/100)

Can anyone help me on this please ???


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
.


.


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 




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 07:57 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.