+ Reply to Thread
Results 1 to 7 of 7

Solving Equations w/ Fractions using Excel

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Queens
    MS-Off Ver
    Excel 2007
    Posts
    7

    Post Solving Equations w/ Fractions using Excel

    Hey Forum,

    How do I solve for equations with fractions using excel? For example how do I solve for x in the following equation: (3-x/4)-(3-x/5)=20.
    Do I need to use the Solver tool?

    Let me know what I need to do.

    Thanks,
    Sam

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

    Re: Solving Equations w/ Fractions using Excel

    Is this Excel or algebra? This should be a fairly simple algebra problem, and I would first suggest you review some algebra: http://www.purplemath.com/modules/solvelin.htm this is a 4 page tutorial (multi-step equations like the one you show appear on page 3) that should answer this as an algebra question. Once the algebra question is solved, programming into Excel (if it is even necessary at that point) should be straightforward.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    05-31-2013
    Location
    Queens
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Solving Equations w/ Fractions using Excel

    this is excel. I want to try avoiding use basic algebraic methods on excel. I was thinking Solver would be quicker and would avoid messy numbers. In my real equation the numbers are rather large so I am looking for a more simple approach.

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

    Re: Solving Equations w/ Fractions using Excel

    I guess it is up to you. I don't know what a "messy number" is or what it means to avoid it (or why you would want to avoid it if it is the solution to the problem). I am also not convinced that Solver is faster, especially for an algebra problem this simple. The time it takes to manually call Solver each time you need the equation solved, or the time it takes to learn the programming needed to automate Solver will generaly, in my experience, make Solver a much "slower" solution to simple algebra problems like this.

    Solver can certainly solve a problem like this. I would usually rewrite it as a "root finding problem" (3-x/4)-(3-x/5)-20=0. Enter an x in a cell. Enter the formula on the left side (referring to the x cell), then call Solver (or Goal Seek) and tell it to set the formula cell to a value of 0 by changing x. If the 3, 4, 5, and 20 are potentially changeable parameters, enter those values in their own cells so they can easily be changed, then refer to them in the formula.

    There are certainly scenarios where the algebra becomes complex enough to make the Solver approach more efficient, but I find that the algebra must be pretty complex (or something I am going to only do once) for me to prefer Solver over an algebraic solution based on time and programming effort.

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Solving Equations w/ Fractions using Excel

    Just to amuse myself I set up 3 different models to solve this problem.

    Alf
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-09-2021
    Location
    North America
    MS-Off Ver
    MS Office Standard 2016
    Posts
    3

    Re: Solving Equations w/ Fractions using Excel

    equation.PNG

    Hi All,

    What about this equation?

    Seems to be a bit more problematic

  7. #7
    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
    80,647

    Re: Solving Equations w/ Fractions using Excel

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    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.

+ 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. Solving Simultaneous Equations with Excel
    By soleimani1967 in forum Excel General
    Replies: 2
    Last Post: 01-04-2016, 10:29 PM
  2. solving equations
    By eng.green in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-19-2013, 09:19 AM
  3. solving equations
    By hmasenger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2011, 10:56 AM
  4. Solving equations
    By kvadre in forum Excel General
    Replies: 1
    Last Post: 03-27-2007, 04:19 PM
  5. solving equations using Excel
    By arnold_charming in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2005, 05:25 AM
  6. solving equations using Excel
    By arnold_charming in forum Excel General
    Replies: 3
    Last Post: 12-07-2005, 02:55 PM
  7. solving equations using Excel
    By arnold_charming in forum Excel General
    Replies: 0
    Last Post: 12-07-2005, 12:30 PM

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