+ Reply to Thread
Results 1 to 3 of 3

Using Cell Reference to Insert Text Automatically on a Chart

Hybrid View

PosseJohn Using Cell Reference to... 06-08-2014, 06:10 PM
cbatrody Re: Using Cell Reference to... 06-09-2014, 01:14 AM
Kaper Re: Using Cell Reference to... 06-09-2014, 02:27 AM
  1. #1
    Forum Contributor
    Join Date
    10-25-2010
    Location
    Phoenix, Arizona, USA
    MS-Off Ver
    O365
    Posts
    202

    Using Cell Reference to Insert Text Automatically on a Chart

    I have a worksheet that contains the data for determining R-Squared (how straight is the data to form a line).

    I graph the data points, and also show a linear Trendline.

    I would like to have a text box that shows the R-Squared value to the use. This value is on the worksheet with the data.

    Is there a way of doing this? Do I need to use VBA to do it?

    Thanks!

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Using Cell Reference to Insert Text Automatically on a Chart

    Hi,

    Can you not plot a linear trendline for the R-Squared values and make the line "No Color"?

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Using Cell Reference to Insert Text Automatically on a Chart

    Insert a textbox on your graph. While drawning textbox, in your formula bar write the address it is to refer (the cell with the formula you want to display).

    By the way, if it is just R2 value, you can also simply tick "show Rsquared on graph" in formatting of trendline. No calculations in sheet needed.
    Attached Images Attached Images
    Best Regards,

    Kaper

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Linking a Text Box in a Chart to a Cell Reference
    By tjloggia in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-15-2014, 10:19 AM
  2. Replies: 1
    Last Post: 06-29-2013, 08:59 PM
  3. [SOLVED] Insert a Cell Value into a Text Box on a Chart
    By sdingman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2012, 03:48 AM
  4. Chart Title to reference a cell and add text
    By jimstrongy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-23-2012, 01:40 PM
  5. Can I insert a cell reference into a block of text?
    By painterpat in forum Excel General
    Replies: 2
    Last Post: 06-12-2006, 06:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1