Hey guys,
I have a LINEST question.  Is there a limit to the number of known x's I can put into LINEST?  

I've hit #REF! errors when using 17 plus an intercept (or more).  It worked for 15 plus an intercept (I don't have a case with 16 plus int.)

I remember something about a limit in Excel 2003 but I wasn't sure for 2007.  Anyone know for sure?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
The limit is 16 independent variables.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Patrick MatthewsCommented:
BTW, I *strongly* discourage using Excel for regression analysis for anything that is remotely important:

1) LINEST (and yes, the Analysis ToolPak uses LINEST for its regression calculations) will occasionally return incorrect results, such as the mathematically-impossible negative r-squared

2) Excel does not test for true independence amongst the supposed independent variables

For any statistical analysis that really matters, I use the (pricey but excellent) Minitab.
RogueStatAuthor Commented:
Thanks Matthew, I appreciate it.

I'm going to use something more robust like Minitab for the "real" analysis.  It's going to have a lot more data, so Excel would probably bog down even if it didn't produce some head-scratching errors.

Right now I'm just quickly demonstrating a concept.  Isn't all of the regression based off of Solver in Excel or did I just decide they were the same thing?
RogueStatAuthor Commented:
You confirmed my suspicion, thank you!
byundtMechanical EngineerCommented:
Solver is an independent product licensed by Microsoft for inclusion in Excel. A newer version has been licensed for Excel 2010. Neither the old nor the new version is used for regression analysis.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.