+ Reply to Thread
Results 1 to 4 of 4

How do I plot a Regression Line on Chart?

  1. #1
    Forum Contributor
    Join Date
    08-15-2005
    Location
    Oklahoma
    MS-Off Ver
    2010, 2013
    Posts
    112

    How do I plot a Regression Line on Chart?

    I ran a regression with all data points in Excel and would like to show the regression line on an Excel chart. How do I plot a regression line on existing chart?
    Jim15

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,401

    Re: How do I plot a Regression Line on Chart?

    Will you please attach a sample Excel workbook?

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    08-15-2005
    Location
    Oklahoma
    MS-Off Ver
    2010, 2013
    Posts
    112

    Re: How do I plot a Regression Line on Chart?

    Hi AliGW,

    Unfortunately, I cannot supply the existing spreadsheet as it contains confidential data.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,803

    Re: How do I plot a Regression Line on Chart?

    I add the regression line to the chart as a second data series. Usually the data in the spreadsheet looks something like:
    Please Login or Register  to view this content.
    There are other variations, but the basic idea is to add the data for the regression line as another data series. Are you familiar with adding multiple data series to a chart? Do you know how to compute the data for the regression line in the spreadsheet?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Really Need Help with Marked Line Chart/Plot
    By brandnew22 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-16-2013, 06:43 AM
  2. Chart confidence intervals around regression (or trend) line
    By LeAnne in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-28-2013, 11:06 AM
  3. plot every Nth value in Line Chart
    By twd000 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-22-2010, 06:00 AM
  4. Line chart that does not plot zero values
    By TrolleyDude in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-25-2010, 07:08 AM
  5. Lookup value and plot vertical line in chart
    By ocubic in forum Excel General
    Replies: 1
    Last Post: 11-13-2009, 08:33 AM
  6. Making a gap in a Chart Plot Line
    By steven723 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-06-2009, 07:29 AM
  7. How do I put a regression line on a scatter chart
    By Charles Hall in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-13-2006, 10:25 PM
  8. Getting a line chart to NOT plot a zero value
    By sheryl in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-26-2005, 09:05 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