![]() |
Setting hover data labels to cells other than source data
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 |
Setting hover data labels to cells other than source data
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 Darren wrote: 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 -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
All times are GMT +1. The time now is 04:47 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com