The specified formula cannot be entered because it uses more levels of nesting than are allowed in the current file format

I am not too familiar with excel and am trying to create a spreadsheet using existing formulas.  However I get the message "The specified formula cannot be entered because it uses more levels of nesting than are allowed in the current file format".  I do not get this error when using excel 2010 however if I try to save it as a .xls file I get the above error.  For the sample formula I have included how would you rewrite this so I do not receive the error.
=IF(F79=1,'Take Off'!E120,IF(F79=2,'Take Off'!E121,IF(F79=3,'Take Off'!E122,IF(F79=4,'Take Off'!E123,IF(F79=5,'Take Off'!E124,IF(F79=6,'Take Off'!E125,IF(F79=7,'Take Off'!E126,IF(F79=8,'Take Off'!E127,IF(F79=9,'Take Off'!E128,0)))))))))

Open in new window

Shumai1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

cyberkiwiCommented:
Each version of Excel has a maximum level of nesting of formulas, 2010 obviously more than 2003 (.xls format).
You need to think of another way to write the formula.
I believe in 2003, it is 10 levels of nesting.
0
cyberkiwiCommented:
=IF(AND(F79>=1,F79<=9),INDEX('Take Off'!E120:E128, F79))
0

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
cyberkiwiCommented:
FYI - it's actually 7 levels for 2003, 64 from 2007 up.
0
byundtMechanical EngineerCommented:
If you want a value of 0 rather than FALSE if F79 is not 1 through 9, then consider:
=IF(ISNA(MATCH(F79,ROW($1:$9),0)),0,INDEX('Take Off'!E120:E128,F79))
0
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.