+ Reply to Thread
Results 1 to 6 of 6

Solving matrix in excel

  1. #1
    Forum Contributor
    Join Date
    04-24-2024
    Location
    Bulgaria
    MS-Off Ver
    Office 365
    Posts
    113

    Solving matrix in excel

    Is it possible by formulas to solve in excel that matrix ?

    -1,00 1,00 -1,00
    1,00 -1,00 -1,00

    and that too

    1,00 -1,00 1,00
    -1,00 1,00 1,00

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,103

    Re: Solving matrix in excel

    If your data is in A1 to C2 then write this formula in for example E1:

    =-1*A1

    and extend right and down
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    04-24-2024
    Location
    Bulgaria
    MS-Off Ver
    Office 365
    Posts
    113

    Re: Solving matrix in excel

    Actually it's a dynamic range f76:y94 cells ( that is maximum of range ) that could shrink to only 2 cells - f76 ; f77.

    I have a formula =MINVERSE(DROP(F76#;;-1)) in f102 cell that do what i wish to solve matrix,but only in these 2 cases that I've point formula gives #NUM! error and I don't know how to solve that task.

    That's mean given matrix

    -1,00 1,00 -1,00
    1,00 -1,00 -1,00

    is in range f76:h78.
    Last edited by angel44e; 05-19-2025 at 08:41 AM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,308

    Re: Solving matrix in excel

    According to https://support.microsoft.com/en-us/...9-59da2d72efc6 MINVERSE finds the inverse of a square matrix.
    Since your range is f76:h78 it appears that H76:H78 are zeros (blanks).
    According to https://www.symbolab.com/solver/matr...ix%7D?or=input "A matix with a zero row is not invertible."
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    04-24-2024
    Location
    Bulgaria
    MS-Off Ver
    Office 365
    Posts
    113

    Re: Solving matrix in excel

    Quote Originally Posted by JeteMc View Post
    According to https://support.microsoft.com/en-us/...9-59da2d72efc6 MINVERSE finds the inverse of a square matrix.
    Since your range is f76:h78 it appears that H76:H78 are zeros (blanks).
    According to https://www.symbolab.com/solver/matr...ix%7D?or=input "A matix with a zero row is not invertible."
    Thank you for your answer,JeteMc! But it's my wrong - range is f76:h77 . It's strange that =MINVERSE(DROP(F76#;;-1)) solve that matrix

    -1,00 1,00 -1,00
    1,00 -6,00 -1,00 range is f76:h77

    but not that

    -1,00 1,00 1,00 -1,00
    1,00 -2,00 1,00 -1,00
    1,00 1,00 -5,00 -1,00 range is f76:i78
    Last edited by angel44e; 05-19-2025 at 05:16 PM.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,515

    Re: Solving matrix in excel

    Why is it strange? What result do you expect?

    As near as I can tell, the first matrix is invertible, while the second matrix is not. If I enter =MDETERM(DROP(F76#,,-1)), then I get 5 for the determinant of the first matrix and 0 for the second. It is well known that the determinant of a matrix must be non-zero for the matrix to be invertible. If this is mostly a question of having a clear indicator of when a matrix is invertible and when it isn't, I might calculate the determinant somewhere as an visual indicator that the matrix is or is not invertible.
    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. I have a problem with solving a matrix
    By angel44e in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-21-2024, 04:55 AM
  2. Solving Matrix Multiplication without MMULT
    By KinGG_Steff in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2019, 10:26 AM
  3. Problem with solving a feasibility check matrix
    By adamadam0000 in forum Excel General
    Replies: 3
    Last Post: 03-05-2017, 12:46 PM
  4. Excel 2007 : solving for x - f(x) = 0 in excel 2007
    By CFA-VBA in forum Excel General
    Replies: 5
    Last Post: 10-10-2011, 11:41 AM
  5. Solving m*n matrix
    By kakoc in forum Excel General
    Replies: 4
    Last Post: 06-15-2010, 09:30 AM
  6. Replies: 6
    Last Post: 12-09-2007, 11:09 AM
  7. solving equations using Excel
    By arnold_charming in forum Excel General
    Replies: 0
    Last Post: 12-07-2005, 12:30 PM

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