562 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owls only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Adding data labels to a chart using VBA
Part one of a five-part series of blogs
Adding basic data labels to a chart can be done without using any programming code. This blog, however, shows you how to fine-tune Excel chart labels using VBA (Visual Basic for Applications) macros.
Labelling the data points in an Excel chart is a useful way to see precise data about the values of the underlying data alongside the graph itself. In a column chart, for instance, you might show the value of the data point at the top of a column.
A useful addition to a column chart is a set of data labels showing the value of each column.
In certain types of charts, for instance scatter charts or bubble charts, the most useful way to label the data points is apparently impossible to achieve!
|We can plot the Run Time against the Budget...||...but we can't show the Film Titles in the chart!|
The only three options you have when adding a data series to a scatter chart or bubble chart are:
If you choose to show all three options, the resulting chart looks something like this:
It's messy, difficult to read, and it's not even the information we want to see!
There are two ways to get the Film Title in the data labels:
Guess which method we're going to describe in part 2 of this series?!
If you find this blog useful, check out our Excel training page, which contains links to Excel blogs, videos, exercises and courses galore!
|Parts of this blog|
25 Aytoun Street