title: multiple indipendent variable for linear regression in Google Sheets
body: <p>in google sheets i got error when i try to make a linear regression with multiple (2) indipendent variables.</p>
  <pre><code>A         B       C
  
  field1  field2  field3
  33         2    580
  33         3    1245
  33         4    1156
  33         5    3535
  33         6    4976
  33         7    3050
  33         8    5779
  </code></pre>
  <p>my code is</p>
  <p>=LINEST(C2:C8;A2:B8;1)</p>
  <p>and the error is #NUM! --&gt; Result was not a number.</p>
  <p>Another error that came out is #N/A --&gt; Cannot perform regression in LINEST due to linearly dependent variables.</p>
  <p>what i'm writing wrongly?</p>
  <p><a href="https://support.google.com/docs/answer/3094249?hl=en" rel="nofollow noreferrer">https://support.google.com/docs/answer/3094249?hl=en</a></p>
  <p>Here google sais that <em>If known_data_y is a one-dimensional array or range, known_data_x may represent multiple independent variables in a two-dimensional array or range</em> where:</p>
  <p>LINEST(known_data_y, [known_data_x], [calculate_b], [verbose])</p>