+ Reply to Thread
Results 1 to 7 of 7

Finding unknown X value from known Y value from curve of best fit

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Finding unknown X value from known Y value from curve of best fit

    Dear all, I am a novice when it comes to escel, I have managed to draw a line graph containing a line of best curve. I now need to find many 'unknown' y values, by putting in the known x axis coordinates. The formula that excel has put in my chart is this: y = 12.405e0.1162x. I dont know what do with it!
    I have attached the file and would be grateful if somebody can help.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Finding unknown X value from known Y value from curve of best fit

    Have a read of this, which explains how to get the formula compenet information.
    http://tushar-mehta.com/publish_trai...nalysis/16.htm

    You can then build formula to find unknown Y's
    Cheers
    Andy
    www.andypope.info

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

    Re: Finding unknown X value from known Y value from curve of best fit

    1st note, title indicates you are trying to solve for x at a given y, text of post indicates you are trying to solve for y at given x. Not a big deal, because a little algebra makes both questions essentially the same in this case.

    1st, and maybe most difficult of this problem is getting the coefficients from the trendline into the spreadsheet. Easiest might be to hand enter the values into the spreadsheet (probably want to format the chart trendline to show all digits so you don't run into other problems). If this is something you will be doing regularly, you should probably work on learning how to use the LINEST function to do the regression directly in the spreadsheet.

    Once the coefficients are in the spreadsheet, getting y at known x is as simple as entering the values and function into appropriate cells. If you are trying to get x at known y, then a little algebra should allow you to rearrange the equation, and then that function can be entered into a spreadsheet.

  4. #4
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Finding unknown X value from known Y value from curve of best fit

    Sorry I actually meant finding unknown y from known x. I wont be doing this regularly and really havent got the time to learn anything in depth. I dont even know how to get the coefficients of the trendline, this is all Greek to me, I just want to enter x and get y!!!! sorry

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

    Re: Finding unknown X value from known Y value from curve of best fit

    this is all Greek to me
    I can appreciate this. I certainly find that, the better I understand the problem (and the math behind the problem), the easier it is to program the solution into Excel.

    With that in mind, I think that we need to ascertain what you know and don't know in order to best help you come up with a final solution. With that in mind, here is a basic approach to getting the solution. Review it and specify where in this process you are getting stuck:

    1) Enter data into spreadsheet
    2) Plot data on an XY/Scatter plot.
    3) Tell Scatter plot to generate trendline based on data and show the trendline equation on the chart.
    4) Enter trendline parameters into spreadsheet.
    5) Enter desired X value and a formula that will calculate the desired Y value into the spreadsheet.

    Explain where you are stuck and why you are stuck, and we should be able to help you figure out how to get the desired information from Excel.

  6. #6
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Finding unknown X value from known Y value from curve of best fit

    Guys thank you so much for the help, my colleague managed to solve my problem last night,
    'e' was a constant , and = 2.71828182845904
    I just had to write the following formula and put in x to find corresponding y
    =12.405*(POWER(2.71828182845904,0.1162*11))

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

    Re: Finding unknown X value from known Y value from curve of best fit

    FWIW, Excel (and every other spreadsheet and programming language) have e hard coded into them. In Excel, you can use the =EXP() function to get powers of e: =EXP(0.1162*11).

+ 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