Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default UPDATING WEEKLY GRAPHS

I have a have a column with data in it...cell Z4 down to cell Z40. At the
end of each week, a new value is added in the column with a formula. I want
to have the graph not include the data when there is no value, instead of
putting the line at zero. Any thoughts?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default UPDATING WEEKLY GRAPHS

Try something like this:

=IF(your_formula="",NA(),your_formula)

This will display #N/A instead of a blank, but this error will be
ignored by your graph. You can "hide" the #N/A by using conditional
formatting - formula is =ISNA(cell), then choose a white foreground.
(cell is the cell reference).

Hope this helps.

Pete

On Feb 21, 10:00*pm, tylermdsm
wrote:
I have a have a column with data in it...cell Z4 down to cell Z40. *At the
end of each week, a new value is added in the column with a formula. *I want
to have the graph not include the data when there is no value, instead of
putting the line at zero. *Any thoughts?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default UPDATING WEEKLY GRAPHS

When I do that it takes care of the problem with my graph, thank you very
much. Now I'm running into another problem. I have another cell that is
averageing a few cells, and when their is an #NA in the cell, it causes the
average to also turn to an #NA, is there any way to fix this?

"Pete_UK" wrote:

Try something like this:

=IF(your_formula="",NA(),your_formula)

This will display #N/A instead of a blank, but this error will be
ignored by your graph. You can "hide" the #N/A by using conditional
formatting - formula is =ISNA(cell), then choose a white foreground.
(cell is the cell reference).

Hope this helps.

Pete

On Feb 21, 10:00 pm, tylermdsm
wrote:
I have a have a column with data in it...cell Z4 down to cell Z40. At the
end of each week, a new value is added in the column with a formula. I want
to have the graph not include the data when there is no value, instead of
putting the line at zero. Any thoughts?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default UPDATING WEEKLY GRAPHS

You can use this array* formula instead of what you have at present:

=AVERAGE(IF(ISNA(A1:A10),FALSE,A1:A10))

* As this is an array formula then once you have typed it in (or
subsequently edit it) you must use CTRL-SHIFT-ENTER to commit it
instead of the normal ENTER. If you do this correctly then Excel will
wrap curly braces { } around the formula when viewed in the formula
bar - you must not type these yourself.

Obviously, change the two references A1:A10 to suit your range.

Hope this helps.

Pete

On Feb 22, 3:26*pm, tylermdsm
wrote:
When I do that it takes care of the problem with my graph, thank you very
much. *Now I'm running into another problem. *I have another cell that is
averageing a few cells, and when their is an #NA in the cell, it causes the
average to also turn to an #NA, is there any way to fix this?



"Pete_UK" wrote:
Try something like this:


=IF(your_formula="",NA(),your_formula)


This will display #N/A instead of a blank, but this error will be
ignored by your graph. You can "hide" the #N/A by using conditional
formatting - formula is =ISNA(cell), then choose a white foreground.
(cell is the cell reference).


Hope this helps.


Pete


On Feb 21, 10:00 pm, tylermdsm
wrote:
I have a have a column with data in it...cell Z4 down to cell Z40. *At the
end of each week, a new value is added in the column with a formula. *I want
to have the graph not include the data when there is no value, instead of
putting the line at zero. *Any thoughts?- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default UPDATING WEEKLY GRAPHS

What I usually do, to keep the formulas simpler, is to use two or more
ranges, one optimized for charting, another for subsequent calculations, and
others for whatever I need them for. perhaps a pretty table for a report.
Worksheet space is cheap, time is expensive.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"tylermdsm" wrote in message
...
When I do that it takes care of the problem with my graph, thank you very
much. Now I'm running into another problem. I have another cell that is
averageing a few cells, and when their is an #NA in the cell, it causes
the
average to also turn to an #NA, is there any way to fix this?

"Pete_UK" wrote:

Try something like this:

=IF(your_formula="",NA(),your_formula)

This will display #N/A instead of a blank, but this error will be
ignored by your graph. You can "hide" the #N/A by using conditional
formatting - formula is =ISNA(cell), then choose a white foreground.
(cell is the cell reference).

Hope this helps.

Pete

On Feb 21, 10:00 pm, tylermdsm
wrote:
I have a have a column with data in it...cell Z4 down to cell Z40. At
the
end of each week, a new value is added in the column with a formula. I
want
to have the graph not include the data when there is no value, instead
of
putting the line at zero. Any thoughts?







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default UPDATING WEEKLY GRAPHS

Have the formula return NA() when there is not value:

IF(LEN(K40)=0,NA(),K40)

This gives you #N/A in the sheet, but isn't plotted as a point in the line
chart.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"tylermdsm" wrote in message
...
I have a have a column with data in it...cell Z4 down to cell Z40. At the
end of each week, a new value is added in the column with a formula. I
want
to have the graph not include the data when there is no value, instead of
putting the line at zero. Any thoughts?



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
Graphs not updating MLK Excel Worksheet Functions 2 July 26th 07 12:02 AM
Updating graphs in Excel using a macro Angela R Excel Discussion (Misc queries) 2 July 3rd 07 02:19 PM
Updating info from 2 workbooks where file naness change weekly bpwin Excel Worksheet Functions 0 March 14th 07 08:46 PM
Automatic Updating of Graphs AR Charts and Charting in Excel 1 February 8th 07 05:12 AM
Automatically updating Graphs Rich Gibbons Excel Worksheet Functions 2 October 6th 05 01:17 PM


All times are GMT +1. The time now is 03:41 PM.

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

About Us

"It's about Microsoft Excel"