ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how can I solve two equation with excel? (https://www.excelbanter.com/excel-discussion-misc-queries/129098-how-can-i-solve-two-equation-excel.html)

peyman

how can I solve two equation with excel?
 
how can I solve two equation with excel?
example:
x+y=1
4x-2y=5
x=?
y=?

Dana DeLouis

how can I solve two equation with excel?
 
One way is to select 2 vertical cells, and Array Enter:

=MMULT(MINVERSE({1,1;4,-2}),{1;5})

or as ranges:
=MMULT(MINVERSE(A1:B2),C1:C2)

--
HTH :)
Dana DeLouis
Windows XP & Office 2003


"peyman" wrote in message
...
how can I solve two equation with excel?
example:
x+y=1
4x-2y=5
x=?
y=?





All times are GMT +1. The time now is 04:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com