Solving simultaneous Equations with MMULT AND MINVERSE

andreascostas

Board Regular
Joined
Jan 11, 2011
Messages
150
G H J
[TABLE="width: 524"]
<tbody>[TR]
[TD]- 8x - 8y = 12
[/TD]
[TD]-8
[/TD]
[TD]-8
[/TD]
[TD]12
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]x=
[/TD]
[TD]#NUM!
[/TD]
[/TR]
[TR]
[TD]- 6x - 6y = -102
[/TD]
[TD]-6
[/TD]
[TD]-6
[/TD]
[TD]-102
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]y=
[/TD]
[TD]#NUM!
[/TD]
[/TR]
</tbody>[/TABLE]

I am working on simultaneous equations using {=mmult(minverse(g2:h3),J2:23)}.
When there is a solution it works and gives me the correct answer. When there are no solutions
Or an infinite number of solutions I get #NUM……I need the answer cell to state “ No Solution” if there is no solution or an “ Infinite Number of Solutions” if there are infinite solutions and the correct answer
When it has only one answer.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
If you're only working with 2x2 matrices (?) it's fairly simple:

C6:C7 =IF(A3/A2=B3/B2,IF(C3/C2=A3/A2,"Infinite","None"),MMULT(MINVERSE(A2:B3),C2:C3))


Excel 2010
ABC
1xy
2-8-812
3-6-6-102
4
5Solutions
6None
7None
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top