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,
DarrenHi,
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
Darren wrote:
gt; Hi and thanks in advance,
gt;
gt; I need a macro or something that will show a data label for a data source
gt; point when clicked or moved over by a mouse. I also need this data label to
gt; reference a different source than the source data used in the plot. For
gt; example, I am graphing a yield curve in relation to duration, however,
gt; instead of showing the x (duration) and y (yield) with the data label, I
gt; would like it to show the name of the instrument.
gt; x = column a, y = column b, instrument name = column c, for example.
gt;
gt; I have already tried using the tashar mehta macro for hovering data labels
gt; but it seems to break down rather easily. Perhaps it is not compatible with
gt; my excel version. If you have advice on how to make a macro, or where to get
gt; one from that will perform this operation I would appreciate it.
gt;
gt; Thanks,
gt; Darren
gt;
--
Andy Pope, Microsoft MVP - Excel
www.andypope.info
- Jun 04 Wed 2008 20:44
Setting hover data labels to cells other than source data
close
全站熱搜
留言列表
發表留言