title: How can I solve a system of linear equations in Excel?
body: <p>I have a system of 22 <a href="http://en.wikipedia.org/wiki/System_of_linear_equations" rel="nofollow noreferrer">linear equations</a> (exactly 22 equations and 22 unknowns) which are dynamically generated in an Excel spreadsheet. Is there a way to have Excel solve the system and produce a value for each of the unknown variables?</p>
  
  <p><a href="https://stackoverflow.com/questions/769/solving-a-linear-equation">Another SO question</a> has a lot of good information about the algorithms used to solve such equations. <a href="http://en.wikipedia.org/wiki/Cramer%27s_rule" rel="nofollow noreferrer">Cramer's rule</a> in particular looks promising, but I'm not sure how to implement it in Excel.</p>
  
  <p>Any help is appreciated!</p>