Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.