Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default IF(AND) error message

I am getting an error message on the 8th time I use IF(AND) in the same
formula. Is there a maximum number of times you can use this combonation in a
singular formula?? If so, how do I end the first part of the formula but
start a second part ??
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default IF(AND) error message

You've found the nesting limit (7, for XL versions other than XL2007).

in general, using lookups or math formulae are more appropriate when
nesting gets that deep.

You can find this type of information on XL's limits in the
"Specifications" Help topic.


In article ,
mr_concrete wrote:

I am getting an error message on the 8th time I use IF(AND) in the same
formula. Is there a maximum number of times you can use this combonation in a
singular formula?? If so, how do I end the first part of the formula but
start a second part ??

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default IF(AND) error message

Excel has a limit of 7 nested functions. Post the formula you would like to
use and someone can come up with an alternative that avoids this limit.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"mr_concrete" wrote:

I am getting an error message on the 8th time I use IF(AND) in the same
formula. Is there a maximum number of times you can use this combonation in a
singular formula?? If so, how do I end the first part of the formula but
start a second part ??

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default IF(AND) error message

Here is the formula I started, I need to be able to go quite a bit more like
this:

=IF(AND(D34.1,E3=100),40,IF(AND(D34.1,E3=95),30 ,IF(AND(D34.1,E3=90),25,IF(AND(D34.1,E3=85),20 ,IF(AND(D34.1,E3=80),19,IF(AND(D34,E3=100),30,I F(AND(D34,E3=95),25,IF(AND(D34,E3=90),19,IF(AN D(D34,E3=85),18,IF(AND(D34,E3=80),17,0)))))))) ))

Please advise.

"Dave F" wrote:

Excel has a limit of 7 nested functions. Post the formula you would like to
use and someone can come up with an alternative that avoids this limit.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"mr_concrete" wrote:

I am getting an error message on the 8th time I use IF(AND) in the same
formula. Is there a maximum number of times you can use this combonation in a
singular formula?? If so, how do I end the first part of the formula but
start a second part ??

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default IF(AND) error message

maybe something like this

=IF(D34.1,LOOKUP(E3,{80,85,90,95,100},{19,20,25,3 0,40}),IF(D34,LOOKUP(E3,{80,85,90,95,100},{17,18, 19,25,30}),0))

regards
--
*****
birds of the same feather flock together..



"mr_concrete" wrote:

Here is the formula I started, I need to be able to go quite a bit more like
this:

=IF(AND(D34.1,E3=100),40,IF(AND(D34.1,E3=95),30 ,IF(AND(D34.1,E3=90),25,IF(AND(D34.1,E3=85),20 ,IF(AND(D34.1,E3=80),19,IF(AND(D34,E3=100),30,I F(AND(D34,E3=95),25,IF(AND(D34,E3=90),19,IF(AN D(D34,E3=85),18,IF(AND(D34,E3=80),17,0)))))))) ))

Please advise.

"Dave F" wrote:

Excel has a limit of 7 nested functions. Post the formula you would like to
use and someone can come up with an alternative that avoids this limit.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"mr_concrete" wrote:

I am getting an error message on the 8th time I use IF(AND) in the same
formula. Is there a maximum number of times you can use this combonation in a
singular formula?? If so, how do I end the first part of the formula but
start a second part ??



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default IF(AND) error message

The limit on nested functions like IF is seven to a formula.

Workarounds using named ranges examples available at Chip Pearson's site.

http://www.cpearson.com/excel/nested.htm


Gord Dibben MS Excel MVP

On Tue, 6 Feb 2007 10:21:01 -0800, mr_concrete
wrote:

I am getting an error message on the 8th time I use IF(AND) in the same
formula. Is there a maximum number of times you can use this combonation in a
singular formula?? If so, how do I end the first part of the formula but
start a second part ??


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



All times are GMT +1. The time now is 05:29 AM.

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

About Us

"It's about Microsoft Excel"