What is wrong with this formula?

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

Hi,

Am i entering too many arguements or is there some other issue?


=IF(I30>0,"",IF(AND(I22="NOT APPLICABLE",I23="NOT APPLICABLE",I24="NOT
APPLICABLE",I25="NOT APPLICABLE"),"INVALID ENTRY",IF(AND(OR(I28="NOT
APPLICABLE",I28=0),OR(I27="NOT
APPLICABLE",I27=0)),(I12/(1-I11)),IF(I27=1,(I12/(1-I11))-0.5,IF(I27>1,0,IF(I28=1,(I12/(1-I11))-0.25,IF(I28>=2,((I12/(1-I11))-(0.25)-((COUNTIF(I75:I84,"N")-1)*0.03)),IF(AND(I27=1,I28>0),((I12/(1-I11))-(0.5)-((COUNTIF(I75:I84,"N"))*0.03))))))))))
 
Gary

You can only have 7 nested IFs (Up to 2007). This is normally handled either
by named ranges or a table and then a VLOOKUP function

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
web: www.nickhodge.co.uk
blog (non tech): www.nickhodge.co.uk/blog
 
There is a limit of 7 nested functions in Excel before 2007. You have
9 IFs and several AND and ORs, so you have probably exceeded this
limit.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top