+ Reply to Thread
Results 1 to 3 of 3

How to use excel to find out an algebraic equation. "What is the formula they're using?"

  1. #1
    Registered User
    Join Date
    06-18-2019
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    5

    How to use excel to find out an algebraic equation. "What is the formula they're using?"

    Hi all,

    I have 3 columns of data:

    Age
    Rating
    Price

    ...and want to find out how they calculated price based on the other 2.

    How might I do this in excel?

    Sorry for such a basic question, but not sure how this might be accomplished.

    T2Wce0x[1].png

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: How to use excel to find out an algebraic equation. "What is the formula they're using

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: How to use excel to find out an algebraic equation. "What is the formula they're using

    I'm not aware of any way to just ask Excel "What algebraic equation fits these data?"

    Excel can solve regression problems, where we give Excel an algebraic expression (for example, price=A*age+B*quality+C) and ask Excel to find values for A, B, and C that provide the "best fit" of the data. If we want to use an ordinary least squares regression algorithm we can use Excel's built in LINEST() function to perform the regression. If we want to use a different regression algorithm, then we can use Excel's built in Solver utility to perform the optimization. But, in this scenario, we always start with the algebraic expression and find the parameters for that expression that give us the best fit. We cannot start without having some idea what the algebraic expression ought to look like.

    One nice thing about spreadsheets is, when we get a calculation set up and working, we can usually make copies of that row/column/tab and repeat the process with a few changes. In this case, if we want to try a few different algebraic expressions, we can set up our spreadsheet to perform one regression, then make copies, changing the algebraic expression in each copy. This gives us a chance to compare regressions over different expressions and choose the one we like. Of course, this will quickly become overwhelming if we have no idea what expression to use and decide we want to try all the possible formulas.

    If you know what kind of algebraic expression you want to use, we should be able to help program a regression for that algebraic expression.

    When I don't know what kind of algebraic expression I want to use, I will usually start by graphing the data, with the intent of trying to create some "contour plots." The goal is to see if I can look at a graph of the data and, knowing the general shape of different families of algebraic curves, make some educated guesses about what kinds of algebraic expressions might be good candidates. As a first try, I might start by creating two scatter charts -- one showing price vs. age and one showing price vs. rating. See if those two charts give me any insights into how price varies with age and rating and see what that leads me to do next.
    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. Replies: 8
    Last Post: 01-17-2021, 01:05 AM
  2. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  3. [SOLVED] solve an algebraic equation on excel
    By mgoldie1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-08-2016, 11:21 PM
  4. Replies: 4
    Last Post: 08-20-2014, 07:14 AM
  5. [SOLVED] Emulate Excel 97 getopenfilename "Advanced" find including "Search subfolders"
    By FORTRANguru in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2014, 08:21 PM
  6. Macro that uses "find next" command and moves cells to make equation
    By lken in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2013, 12:34 PM
  7. [SOLVED] algebraic formula to calculate "net uniform series" (NUS)
    By Johnny Logan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2005, 10: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