Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default What is wrong with this formula?

Hi,

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


=IF(I300,"",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(I271,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,I280),((I12/(1-I11))-(0.5)-((COUNTIF(I75:I84,"N"))*0.03))))))))))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 185
Default What is wrong with this formula?

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
DTHIS
web:
www.nickhodge.co.uk
blog (non tech): www.nickhodge.co.uk/blog


"Gary" wrote in message
...
Hi,

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


=IF(I300,"",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(I271,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,I280),((I12/(1-I11))-(0.5)-((COUNTIF(I75:I84,"N"))*0.03))))))))))


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default What is wrong with this formula?

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

On Oct 29, 1:48 pm, "Gary" wrote:
Hi,

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

=IF(I300,"",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(I271,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,I280),((I12/(1-I11))-(0.5)-((COUNTIF(I75:I84,"*N"))*0.03))))))))))



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default What is wrong with this formula?

It'll be the levels of nesting. Limited to 7.
--
David Biddulph

"Gary" wrote in message
...
Hi,

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


=IF(I300,"",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(I271,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,I280),((I12/(1-I11))-(0.5)-((COUNTIF(I75:I84,"N"))*0.03))))))))))



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Calculated Field (wrong Qty*Price = wrong Amount) Edmund Excel Discussion (Misc queries) 8 October 4th 07 12:13 PM
What is wrong with this formula? Dan B Excel Worksheet Functions 6 September 27th 06 02:00 AM
What's wrong with this formula? asb3stos Excel Discussion (Misc queries) 5 June 19th 06 07:27 PM
What is wrong with this IF formula sweetsue516 Excel Discussion (Misc queries) 7 May 19th 06 03:53 PM
Can anyone tell me what's wrong with this formula? Linda Excel Worksheet Functions 5 April 12th 06 07:25 PM


All times are GMT +1. The time now is 10:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"