Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to use the Linest Function when my data is not in a continuous range? I've got my known Y's in J1, J4, J7 etc. and my known X's in A1, A4, A7...

linest(J1, J4, J7, A1, A4, A7) doesn't work because it counts every entry as a separate input. linest(J1:J7, A1:A7) doesn't work because the cells in between are empty.

share|improve this question
up vote 2 down vote accepted

Short answer: no, but...

You can use SLOPE(J1:J7, A1:A7) and INTERCEPT(J1:J7, A1:A7)

these ignore empty cells, while LINEST doesn't

share|improve this answer
As I suspected. Thank you! – Radu Feb 25 '11 at 16:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.