Here's a solution I posted earlier to one of the groups.
--
Best Regards
Leo Heuser
Followup to newsgroup only please.
-------------------------------------------
Two simple equations: A=5000+.3B and B=6000+.4A
These can be solved easily on paper (A=7727 and B=9091). How do to this
with a
spreadsheet? I'm using Excel. I have developed a rather ackward model
that
works. I'm hoping someone might be able to suggest a more elegant
approach!GSmith
GSmith,
You can do it with matrix-operations.
Ordering the equations we get:
A - .3B = 5000
..4 A - B = -6000
Now enter the coefficients of A and B and the numbers in e.g. C8:E9 like
this:
1 -.3 5000
..4 -1 -6000
Solving with matrices is solving the equation X=A^-1*B
where A is the matrix
1 -.3
..4 -1
and B is the matrix
5000
-6000
and A^-1 is A-inverse, which in Excel is found with the formula MINVERSE()
Select e.g. G8 : G9
Enter this formula =MMULT(MINVERSE(C8

9),E8:E9)
The formula is an array formula and must be entered with
<Shift><Ctrl><Enter> instead og <Enter>, also if edited at a later time.
Having entered it correctly Excel will show the formula in the formula-bar
enclosed in curly brackets { }, and the solution will
be in G8 and G9.
The explanation certainly isn't thorough, but I hope it is enough to get you
started.
Best regards
LeoH