+ Reply to Thread
Results 1 to 4 of 4

Equation

  1. #1
    Registered User
    Join Date
    06-14-2005
    Posts
    1

    Equation

    he is possivel to decide an equation as this in excel?

    100-500+400-10X=0

    thanks for any help

    paulo from portugal

  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Yes it is. In your case:
    A........B...........................C
    10....=100-500+400.......=MMULT(MINVERSE(A1),B1)

    The formula in C1 must be confirmed by holding down Ctrl and Shift, and then hit Enter.

    This will also work for larger equations (i.e. x,y,z)
    If the formula don't find a solution, it will return #VALUE!


    Hope it helped
    Ola Sandström

  3. #3
    Registered User
    Join Date
    04-20-2005
    Posts
    48
    How would the formula change if you wanted to use x, y, and z?

  4. #4
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Here is how to work with multiple unknow.
    This comes from one of J.Walk's old newsletter - they are still worth reading.

    Ola Sandström



    POWER FORMULA TECHNIQUE

    By Alab Beban

    Here is an example of how to solve a set of simultaneous equations using
    Excel.

    Start with equations that are linearly independent so that there is,
    in fact, a solution; e.g.,

    17 = 5x + 3y + 2z
    13 = 2x + 4y + z
    22 = 3x + 2y + 5z

    Put the coefficients of the unknowns in, e.g., A1:C3 (i.e., 5,3,2 in
    A1:C1, 2,4,1 in A2:C2, etc.);

    Put the constants (17, 13, 22) in, e.g., D1:D3;

    Highlight, e.g., E1:E3 and array enter (i.e., enter with
    Ctrl+Shift+Enter instead of just Enter)

    =MMULT(MINVERSE(A1:C3,D1:D3)

    and the solution vector (1,2,3) will appear in E1:E3;
    i.e., x=1, y=2, z=3

    For a set of equations that does not have a solution, the #VALUE error
    will appear in E1:E3.

+ 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