The following is the list of queries addressed in this article:


  1. How to customize the formatting options in the chart?
  2. How to save the chart as a template and re-use it in any other Excel file?
  3. What if I don't want to color when actual = target?
  4. What if we need to have three distinct colors (equal, above, below)


How to customize the formatting options in the chart?



How to save the chart as a template and re-use it in any other Excel file?


1. Right-click on the chart and select "Save as Template"


This opens a dialog box, assign a name to your chart template, and click "Save". This saves the chart in a .crtx format


2. From our Instant Chart Maker file, Copy the data table (CTRL+C) and paste it (CTRL+V) into your chosen Excel file. 


3. Enter your information in the data table. Add or remove rows as needed. 

4. Select the columns required to build the chart, for this - choose all except the BELOW column


5. Go to Insert and choose to see All Recommended Charts



This opens up a dialog box, go to All Charts and click on the Templates folder. Here, you'll find all the charts you have saved in step 1, choose the one that is relevant to the data and click "OK".


6. That's it, your chart gets populated with the data from your Excel file and is independent of the Instant Chart Maker template file.


- Chart title and Axis titles:  Using a saved template to build your chart does not usually bring the Chart title and axis titles. Read this article to add these elements to your chart.



What if I don't want to color when actual = target?


The formula for the ABOVE calculated column that decides whether to highlight a given column checks if the actual value is greater than or EQUAL to the said target value. 

=IF([@ACTUAL]>=[@TARGET],[@ACTUAL],NA())


If you do not want to color the columns that have just achieved the targets (i.e Actual = Target), then the ACTUAL column only takes values that are greater than the targets:


=IF([@ACTUAL]>[@TARGET],[@ACTUAL],NA())


With this, the columns that have just achieved the targets won't be highlighted.



What if we need to have three distinct colors (equal, above, below)


The default Column chart that highlights above target has two distinct colors: highlighted for columns that have reached target or more (in blue); columns that have not achieved their target (in gray).


If you need to have three distinct colors for the three different scenarios, as shown:

1. Achieved and more than target in blue

2. Exactly equal to the target in gray

3. Below target value in pink


This can be achieved easily by the following steps:

1. Modify the ABOVE formula to 

=IF([@ACTUAL]>[@TARGET],[@ACTUAL],NA())


2. Right-click on chart, choose Select Data:


3. In the dialog box that opens up, choose add the "BELOW" series


4. Right-click on chart and go to Change Chart Type


5. In the dialog box, change the chart type of Below to "Clustered Column"


 

6. Click on the chart and press CTRL+1 to open the format pane.

7. From the drop-down choose the "BELOW" series


8. From series options, increase Series overlap to 100%


9. In fill& line, choose a fill color as needed


With this, we have a column chart with three different colors for above, below and equal to the target columns