Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
544 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers 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
Search our website
We also send out useful tips in a monthly email newsletter ...
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 |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.