Setting hover data labels to cells other than source data

D

Darren

Hi and thanks in advance,

I need a macro or something that will show a data label for a data source
point when clicked or moved over by a mouse. I also need this data label to
reference a different source than the source data used in the plot. For
example, I am graphing a yield curve in relation to duration, however,
instead of showing the x (duration) and y (yield) with the data label, I
would like it to show the name of the instrument.
x = column a, y = column b, instrument name = column c, for example.

I have already tried using the tashar mehta macro for hovering data labels
but it seems to break down rather easily. Perhaps it is not compatible with
my excel version. If you have advice on how to make a macro, or where to get
one from that will perform this operation I would appreciate it.

Thanks,
Darren
 
A

Andy Pope

Hi,

You could plot each point as a unique series. Then the name, x and y
will be displayed in the built-in popup labels. This method does
restrict you to 254 points though.
Remember to keep the original data series in the chart to give you the
curve.

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top