Updating Trendline Labels

byeonyj

New Member
Joined
Jul 7, 2014
Messages
5
Hello,

I have a question that is moderately easy to grasp.

I have an chart output in Worksheet 2, with some data in Worksheet 1.
I know how to connect the data sets, so that when I add new data, the chart automatically reflects the changes.

HOWEVER, I am not able to Auto-Update the legend/name/title of the individual lines in the chart.
For example, I want to put "Jul-31 Secondary", with the updates made as the date goes on.

I was able to get it as close as "Power (Jul-31 Secondary)", as I went into Select Data to:
1. have two individual cells be the title of the Data Set, for which the first one is linked to a cell with dates (Jul-31), second including the word ("Secondary")
2. use the "Automatic" naming function

But the problem is the "POWER" infront of the text, as I just want the "date+Secondary"
I have done this through the Custom labeling function, but would either like (a) a Macro, or (b) a way to omit the word "Power" when using automatic labeling (although it needs to be a Power line)


Trivial matter, but not so unimportant in a corporate deliverable.


Thanks in advance!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top