+ Reply to Thread
Results 1 to 11 of 11

Create logarithmic equation from excel chart

  1. #1
    Registered User
    Join Date
    02-13-2017
    Location
    weatherford, tx
    MS-Off Ver
    office 365
    Posts
    5

    Create logarithmic equation from excel chart

    I have charted 2 sets of 11 data points each on a graph and want to create an equation that defines each graph so I can input any single axis data and it will find the corresponding axis point of intersection

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

    Re: Create logarithmic equation from excel chart

    Not much to go on. Other than using the chart to visualize the process, I would probably not do any of this in the chart. If I understand what you are trying to do:

    1) Choose the desired equation form. I am not certain exactly what you want for a "logarithmic equation", but I assume you know what you are looking for. As an example, I will assume you are looking for y=m*ln(x)+b
    2) Use the LINEST() function to perform the desired regression. For the example, =LINEST(known_ys,LN(known_xs)) https://support.office.com/en-us/art...a-fa7abf772b6d
    3a) Compute the desired y at a given value for x.
    3b) Use algebra to invert the function, then compute the desired x at the given value for y, or use Solver/Goal Seek/other numerical algorithm to find x at a given y.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    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: Create logarithmic equation from excel chart

    Does a logarithmic trendline give a sufficiently accurate fit for what you need?
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    02-13-2017
    Location
    weatherford, tx
    MS-Off Ver
    office 365
    Posts
    5

    Re: Create logarithmic equation from excel chart

    i dont know. the graph is pretty smooth.

  5. #5
    Registered User
    Join Date
    02-13-2017
    Location
    weatherford, tx
    MS-Off Ver
    office 365
    Posts
    5

    Re: Create logarithmic equation from excel chart

    i think what I am trying to do is reverse engineer the graph so I can use a formula to predict any y point on graph given an x point.
    I can supply the data if you like

  6. #6
    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: Create logarithmic equation from excel chart

    Quote Originally Posted by 37BPBrian View Post
    i dont know. the graph is pretty smooth.
    Do you know how to create a trendline?

    If you do, can you not look at it, and ask yourself, "Is that line close enough to my data that I'd be happy to use that result?"

  7. #7
    Registered User
    Join Date
    02-13-2017
    Location
    weatherford, tx
    MS-Off Ver
    office 365
    Posts
    5

    Re: Create logarithmic equation from excel chart

    no i do not

  8. #8
    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: Create logarithmic equation from excel chart

    Right-click the data series on the chart, select Add Trendline, and follow your nose from there.

  9. #9
    Registered User
    Join Date
    02-13-2017
    Location
    weatherford, tx
    MS-Off Ver
    office 365
    Posts
    5

    Re: Create logarithmic equation from excel chart

    I don't know if using a trendline is going to work. It is a smooth concave shaped curve and the trendline is straight. I want to predict points on the curve not the trendline

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

    Re: Create logarithmic equation from excel chart

    What trendline type (linear, polynomial, logarithmic, power, etc.) did you choose? It sounds like you chose "linear", when you should have chosen something else.

  11. #11
    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: Create logarithmic equation from excel chart

    Post a workbook, Brian?

+ 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. [SOLVED] Problem with bar chart with logarithmic axis
    By ankit4035 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-09-2016, 08:40 AM
  2. [SOLVED] Trying to get 2 sets of data on a Logarithmic Chart
    By bryanr72 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-09-2014, 05:28 PM
  3. Changing the x-axis values on a logarithmic chart?
    By c991257 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-30-2008, 07:18 AM
  4. Logarithmic equation
    By Pedro Monteiro in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-22-2006, 01:30 PM
  5. Replies: 1
    Last Post: 06-07-2006, 01:10 PM
  6. How do I plot chart with negative value using Logarithmic Scale ?
    By FTian in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-15-2006, 07:20 AM
  7. [SOLVED] Logarithmic Trendline Equation
    By Phil Hageman in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-13-2005, 08:06 AM

Tags for this Thread

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