Locked lesson.
About this lesson
Exercise files
Download this lesson’s related exercise files.
07-04-Advanced Chart Formatting-Start.xlsx697.1 KB 07-04-Advanced Chart Formatting-Complete.xlsx
709.3 KB 7.04 advanced-chart-formatting - Exercise.docx
54.4 KB Exercise - Advanced Chart Formatting.xlsx
113.8 KB 7.04 advanced-chart-formatting - Exercise solution.docx
124.5 KB Exercise Solution - Advanced Chart Formatting.xlsx
116.7 KB
Quick reference
Advanced Chart Formatting
Learn some advanced chart formatting techniques.
When to use
Use these advanced techniques whenever you want to take your chart formatting to the next level.
Instructions
When formatting charts, it's good to keep them as clean looking as possible. Formatting should enhance the information not distract from it.
Let's take a look at a few advanced formatting techniques. In this example, we are using a 2D Column Chart (Pivot Chart).
Hide Field Buttons
Field buttons are the grey filters that show by default on a chart. We can remove these to give the chart a less cluttered look.
- Right-click on any of the field buttons.
- Click Hide all field buttons on chart.
Remove Legend
For some charts, we can remove the legend if it's not showing anything useful. For example, if it just says 'Total', we don't really need it as we can see the totals in the chart.
- Click on the legend.
- Press Delete.
- OR, click the + icon to the right of the chart.
- Deselect Legend.
Modify the Gap Width
Gap width relates to the amount of space in between each column in the chart. We can adjust this to make the chart more pleasing to the eye or if we want to add data labels inside the column and need a bit more room.
- Click on the chart columns.
- Press CTRL+F1 to open the Format Data Series pane.
- Reduce the value in the Gap Width field.
Add Data Labels
Data Labels allow us to display chart information inside or outside the columns. For example, maybe we want to display the value of the column on the column so we can delete the vertical axis.
- Click on the columns.
- Right-click and select Add Data Labels.
By default, the labels will show on the outside end. We can change this by pressing CTRL+1 and changing the position.
Once we have added the data labels we can delete the vertical axis.
Number Formatting
We can format the numbers that are used in the chart. In this example, we have very long numbers that don't fit well above the columns. We can apply some custom number formatting and display these numbers as millions instead.
- Click on the Data Labels.
- Press CTRL+1 to open the Format Data Labels pane.
- Click Label Options.
- Expand the Number group.
- In the Category field, choose Custom from the drop-down menu.
- In the Format Code field, type #0,,"M" and click Add.
The numbers are now formatted as millions.
Add and Position the Chart Title
- Double-click in the Chart Title area and give your chart a descriptive title.
- To move the title to the left or right, hold down SHIFT as you drag the text box to keep it inline.
Format the Chart Background
Picture Fill
A picture in the background of the chart can look effective. Be careful which picture you use and keep it as plain as possible so it doesn't distract from the chart data.
- Click on the chart.
- Press CTRL+1 to open the Format Chart Area pane.
- Expand Fill.
- Select Picture or texture fill.
- In Picture Source, click Insert.
- Insert a file from your PC, browse online images, or choose a stock image.
Gradient Fill
Instead of a picture, we could add a gradient fill chart background.
- Click on the chart.
- Press CTRL+1 to open the Format Chart Area pane.
- Expand Fill.
- Select Gradient fill.
We can modify the direction, intensity, and color of the gradient by changing the gradient settings and stops.
Chart Styles
Chart Styles allow us to apply multiple formatting properties with one click. Excel has several in-built chart styles. If we are going to use a chart style, it is recommended to apply the style first as the style will overwrite any manual formatting applied to the chart.
- Click on the Chart.
- From the Design tab, in the Chart Styles group, expand the gallery.
- Choose a Chart Style.
Change Colors
Charts use colors based on the theme we have selected in Excel. We can change the colors used in the chart in a couple of ways.
- Click on the chart.
- From the Design tab, in the Chart Styles group, click Change Colors.
- Choose a different palette.
To change the colors to something outside of our theme colors we can either change the theme in use in Excel (Page Layout > Themes) or we can manually apply formatting.
- Select the chart element.
- From the Format tab, in the Shape Styles group, click Shape Fill and select a color from the palette.
Insert a Slicer
Slicers and visual filters. We can insert a slicer based on any field in our data.
- Click on the chart.
- From the PivotChart Analyze tab, in the Filter group, click Insert Slicer.
- Choose the field you want to use as the filter.
- Click OK.
Format the Slicer
Resize Slicer
- Click on the slicer.
- Drag the resize handles.
Remove the Slicer Header
- Click on the slicer.
- From the Slicer tab, in the Slicer group, click Slicer Settings.
- Deselect Display header.
Change the slicer from vertical to horizontal
- Click on the slicer.
- From the Slicer tab, in the Buttons group, change the number of columns to match the number of items in the slicer.
Create a Custom Slicer Style
- Click on the slicer.
- From the Slicer tab, in the Slicer Styles group, right-click on the current Slicer Style in use.
- Choose Duplicate.
- Give your slicer style a name.
- Format each element of the slicer as desired.
- Click on the new style to apply it to the slicer.
Hints & tips
- We can format other chart types such as line charts in a similar way. To create a smoothed line in a line chart press CTRL+1 and from the Fill & Line area, select Smoothed line.
Lesson notes are only available for subscribers.