Hi,
I have a line chart that charts 35 cases.
The source data for this chart is created from formulas, that lookup the data in a larger dataset. The formulas are necessary because the chart is dynamic and the range changes upon user interaction.
Here is my problem: In my original dataset some cases have no value.
Now, when my formulas lookup for such a case, it returns an error.
I want that a case with no data would create a gap in my linechart. Instead it dips to 0 or if I use #N/A as the error type it connects the two valid data points. Picture 1; series 1 and 2 respectively.
PICTURE 1: http://i50.tinypic.com/2ensxlk.jpg
By googling the hell out of my problem, I found out:
- linechart will only create a gap for a blank cell
- a formula can never create a "truly blank" cell. A formula always returns something
- if the data set for line chart starts with a #N/A error, it will indeed not chart until the first valid data point.
- similarly, if the dataset ends with #N/A error it will cut off after last valid data point. Look at series 3 on picture 1.
So I figured this could be my solution; I must break the data for the cahrt into series of consecutive valid data points, and then format all the series the same, to fake the gaps![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
PICTURE 2: http://i49.tinypic.com/29pp69v.jpg
Now, based on my original range (35 cases) with lookup formulas, I need to create 18 dummy series (18 for "worst" case scenario if every other case is missing value).
What should be the formulas for my dummy series?
Aditional info:
- the original formula is Index, with named ranges, and dynamic parameters
- there can be one or more than one consecutive valid value cases
- there can be one or more than one consecutive no value cases
- the series can start and end with a one or more valid point or with one or more missing values (error).
I hope you can help me find a solution, because I could not find anything relavant on the www although many seem to search for it.
Jova
I have a line chart that charts 35 cases.
The source data for this chart is created from formulas, that lookup the data in a larger dataset. The formulas are necessary because the chart is dynamic and the range changes upon user interaction.
Here is my problem: In my original dataset some cases have no value.
Now, when my formulas lookup for such a case, it returns an error.
I want that a case with no data would create a gap in my linechart. Instead it dips to 0 or if I use #N/A as the error type it connects the two valid data points. Picture 1; series 1 and 2 respectively.
PICTURE 1: http://i50.tinypic.com/2ensxlk.jpg
By googling the hell out of my problem, I found out:
- linechart will only create a gap for a blank cell
- a formula can never create a "truly blank" cell. A formula always returns something
- if the data set for line chart starts with a #N/A error, it will indeed not chart until the first valid data point.
- similarly, if the dataset ends with #N/A error it will cut off after last valid data point. Look at series 3 on picture 1.
So I figured this could be my solution; I must break the data for the cahrt into series of consecutive valid data points, and then format all the series the same, to fake the gaps
PICTURE 2: http://i49.tinypic.com/29pp69v.jpg
Now, based on my original range (35 cases) with lookup formulas, I need to create 18 dummy series (18 for "worst" case scenario if every other case is missing value).
What should be the formulas for my dummy series?
Aditional info:
- the original formula is Index, with named ranges, and dynamic parameters
- there can be one or more than one consecutive valid value cases
- there can be one or more than one consecutive no value cases
- the series can start and end with a one or more valid point or with one or more missing values (error).
I hope you can help me find a solution, because I could not find anything relavant on the www although many seem to search for it.
Jova