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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Graph to only include rows with data in
Hello, I want to make a graph which is based on a table which gets its data
from other parts of my spreadsheet - so all the data is made from formulas. Some of the rows at the bottom will be empty, and I want the graph to ignore these empty rows, but to include them if data is added at a later date. Is there a way to point the graph to an area, but to tell the graph to ignore any rows where the formulas return a blank (or Icould make it zeros if that helps). I don't want acres of graph with no columns in either, so it would have to adjust automatically. I'm OKish with VBA, but I'd prefer a solution that didn't use it if that's possible. Thanks Michelle |
#2
|
|||
|
|||
Graph to only include rows with data in
Have a look here
http://spreadsheetpage.com/index.php...n_a_line_chart "Michelle" wrote: Hello, I want to make a graph which is based on a table which gets its data from other parts of my spreadsheet - so all the data is made from formulas. Some of the rows at the bottom will be empty, and I want the graph to ignore these empty rows, but to include them if data is added at a later date. Is there a way to point the graph to an area, but to tell the graph to ignore any rows where the formulas return a blank (or Icould make it zeros if that helps). I don't want acres of graph with no columns in either, so it would have to adjust automatically. I'm OKish with VBA, but I'd prefer a solution that didn't use it if that's possible. Thanks Michelle |
#3
|
|||
|
|||
Graph to only include rows with data in
You could use autofilter to display Non-blanks (or Custom | Not Equal
To | 0 (zero) if you return zero in your formulae), and the graph will adjust automatically. This is not dynamic, though - you would have to re-apply the filter if your data changed. Hope this helps. Pete On Dec 9, 1:46*pm, "Michelle" wrote: Hello, I want to make a graph which is based on a table which gets its data from other parts of my spreadsheet - so all the data is made from formulas. Some of the rows at the bottom will be empty, and I want the graph to ignore these empty rows, but to include them if data is added at a later date. Is there a way to point the graph to an area, but to tell the graph to ignore any rows where the formulas return a blank (or Icould make it zeros if that helps). I don't want acres of graph with no columns in either, so it would have to adjust automatically. I'm OKish with VBA, but I'd prefer a solution that didn't use it if that's possible. Thanks Michelle |
#4
|
|||
|
|||
Graph to only include rows with data in
Excel 2007
Variable X-axis length with available data. Dynamic, adjusts automatically. No VBA. Method will vary with chart and data type. http://www.mediafire.com/file/yjdgkjynhwt/12_09_08.xlsx |
Thread Tools | |
Display Modes | |
|
|