+ Reply to Thread
Results 1 to 5 of 5

Charts and formulas

  1. #1
    Registered User
    Join Date
    09-02-2009
    Location
    Saskatchewan Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Charts and formulas

    Hello, first time poster here.

    My question is, when I put in a series of points and make a chart, then proceed to use the ability to get a best fit, and it comes up with the formula (y=1111x +1111) for example, is there any way to automatically use that formula in excel?

    For what I am doing, the ability to then use the formula and automatically link it back into excel would be quite helpful in trying to get it to plot a best fit line, then take the formula automatically and apply it to get a few other results.

    Thanks,
    Greg

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Charts and formulas

    Welcome to the forum.

    You can get the coefficients using LINEST. See Help and post back if you need assistance.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-02-2009
    Location
    Saskatchewan Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Charts and formulas

    That helps thanks.

    Now, I am having a bit of trouble getting it to return the right data. I've been wrapping my head around it and can't quite seem to get it.

    I only have two columns of data, one for the x value and one for the y. Basically a calibration that will determine error, however for completion I need to see the numbers.

    So, on that note, on your formula (y=mx+b) I would like Excel to be able to return the 'm' and 'b' values so I can use them. For some reason all my math training seemed to go blank in my head over the last few days.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Charts and formulas

    I can't see your data layout, but the LINEST formula is

    =LINEST(y, x, , TRUE)

    Select TWO cells (e.g., A1:B1), put the formula in the formula bar, prese and hold the Ctrl and Shift keys, then press Enter.

    Then m is in A1, B is in B1.

  5. #5
    Registered User
    Join Date
    09-02-2009
    Location
    Saskatchewan Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Charts and formulas

    Oh, now I feel like an idiot. I was mixing up the x and y values, no wonder the returns on the numbers were way off.

    Thanks guys, that helped a bunch...wow, feel kinda silly

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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