Hello,
I want to color a simple line chart with conditional color. Basically I have a data table with 4 columns :
- a column with a year (2014)
- a column with a month (from jan to dec)
- a column with data (from jan to dec)
- a column with info 'REAL' or 'ESTIMATE'. The data is considered as an estimate value when the year month is > current year month.
In my line chart I want to distinguish the 'REAL' values from the 'ESTIMATE', by using 2 colors
For example:
part line for jan and feb is in blue and part line from march to december is in yellow.
I'm able to do it manually by using 2 series, but I need to manually select the right range regarding de period. So each month I would have to change it...
I would have a dynamic solution, where the color change like with a conditional format.
I have tried to use VBA, but if I'm able to focus on a line section, that's all. I'm unable to test what is this section value (which related month or which related info 'ESTIMATE' or 'REAL', in order to specify the right color
If someone can help me...
Thank you
I want to color a simple line chart with conditional color. Basically I have a data table with 4 columns :
- a column with a year (2014)
- a column with a month (from jan to dec)
- a column with data (from jan to dec)
- a column with info 'REAL' or 'ESTIMATE'. The data is considered as an estimate value when the year month is > current year month.
In my line chart I want to distinguish the 'REAL' values from the 'ESTIMATE', by using 2 colors
For example:
part line for jan and feb is in blue and part line from march to december is in yellow.
I'm able to do it manually by using 2 series, but I need to manually select the right range regarding de period. So each month I would have to change it...
I would have a dynamic solution, where the color change like with a conditional format.
I have tried to use VBA, but if I'm able to focus on a line section, that's all. I'm unable to test what is this section value (which related month or which related info 'ESTIMATE' or 'REAL', in order to specify the right color
If someone can help me...
Thank you