Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Limitation of Nesting of Function

I have quite a number of columns to be checked in various criteria.
Upon first criteria not matched the helper cell is to return "1", upon the
second, "2".
However, I have come to know that I won't be able to enter more than 7
nested functions e.g.:

=IF(ISNA(VLOOKUP(D3,BRANCH,1,FALSE)),"1",IF(ISNA(V LOOKUP(E3,SEGMENT,1,FALSE)),"2",IF(OR(NOT(ISNUMBER (G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN,1,FALSE) ))),"3",IF(OR(NOT(ISNUMBER(F3)),F3<100,F3999,NOT( ISNA(VLOOKUP(F3,XON,1,FALSE)))),"4",IF(AND((OR(NOT (ISNUMBER(G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN ,1,FALSE))))),(OR(NOT(ISNUMBER(F3)),F3<100,F3999, NOT(ISNA(VLOOKUP(F3,XON,1,FALSE)))))),"5",IF(OR(NO T(ISNUMBER(H3)),H3<0),"6",""))))))

Any idea how to have my work completed and compile the formula results to be
reflected in the same cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default Limitation of Nesting of Function

You're going to have to write a Macro to do what you want.
It will involve looping thru your range of data.

"FARAZ QURESHI" wrote:

I have quite a number of columns to be checked in various criteria.
Upon first criteria not matched the helper cell is to return "1", upon the
second, "2".
However, I have come to know that I won't be able to enter more than 7
nested functions e.g.:

=IF(ISNA(VLOOKUP(D3,BRANCH,1,FALSE)),"1",IF(ISNA(V LOOKUP(E3,SEGMENT,1,FALSE)),"2",IF(OR(NOT(ISNUMBER (G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN,1,FALSE) ))),"3",IF(OR(NOT(ISNUMBER(F3)),F3<100,F3999,NOT( ISNA(VLOOKUP(F3,XON,1,FALSE)))),"4",IF(AND((OR(NOT (ISNUMBER(G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN ,1,FALSE))))),(OR(NOT(ISNUMBER(F3)),F3<100,F3999, NOT(ISNA(VLOOKUP(F3,XON,1,FALSE)))))),"5",IF(OR(NO T(ISNUMBER(H3)),H3<0),"6",""))))))

Any idea how to have my work completed and compile the formula results to be
reflected in the same cell?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Limitation of Nesting of Function

Thanx JMay,

Can u pls give me an idea of how to design a simple "4" step looping
structure macro e.g.

If(A1=1,"a",if(a1<1,"b",if(a11,"c",if(not(isblank (a1)),"d",""))))

"JMay" wrote:

You're going to have to write a Macro to do what you want.
It will involve looping thru your range of data.

"FARAZ QURESHI" wrote:

I have quite a number of columns to be checked in various criteria.
Upon first criteria not matched the helper cell is to return "1", upon the
second, "2".
However, I have come to know that I won't be able to enter more than 7
nested functions e.g.:

=IF(ISNA(VLOOKUP(D3,BRANCH,1,FALSE)),"1",IF(ISNA(V LOOKUP(E3,SEGMENT,1,FALSE)),"2",IF(OR(NOT(ISNUMBER (G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN,1,FALSE) ))),"3",IF(OR(NOT(ISNUMBER(F3)),F3<100,F3999,NOT( ISNA(VLOOKUP(F3,XON,1,FALSE)))),"4",IF(AND((OR(NOT (ISNUMBER(G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN ,1,FALSE))))),(OR(NOT(ISNUMBER(F3)),F3<100,F3999, NOT(ISNA(VLOOKUP(F3,XON,1,FALSE)))))),"5",IF(OR(NO T(ISNUMBER(H3)),H3<0),"6",""))))))

Any idea how to have my work completed and compile the formula results to be
reflected in the same cell?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default Limitation of Nesting of Function

Sorry, late for work here -- maybe someone else can jump in...


"FARAZ QURESHI" wrote:

Thanx JMay,

Can u pls give me an idea of how to design a simple "4" step looping
structure macro e.g.

If(A1=1,"a",if(a1<1,"b",if(a11,"c",if(not(isblank (a1)),"d",""))))

"JMay" wrote:

You're going to have to write a Macro to do what you want.
It will involve looping thru your range of data.

"FARAZ QURESHI" wrote:

I have quite a number of columns to be checked in various criteria.
Upon first criteria not matched the helper cell is to return "1", upon the
second, "2".
However, I have come to know that I won't be able to enter more than 7
nested functions e.g.:

=IF(ISNA(VLOOKUP(D3,BRANCH,1,FALSE)),"1",IF(ISNA(V LOOKUP(E3,SEGMENT,1,FALSE)),"2",IF(OR(NOT(ISNUMBER (G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN,1,FALSE) ))),"3",IF(OR(NOT(ISNUMBER(F3)),F3<100,F3999,NOT( ISNA(VLOOKUP(F3,XON,1,FALSE)))),"4",IF(AND((OR(NOT (ISNUMBER(G3)),G3<10,G399,NOT(ISNA(VLOOKUP(G3,XNN ,1,FALSE))))),(OR(NOT(ISNUMBER(F3)),F3<100,F3999, NOT(ISNA(VLOOKUP(F3,XON,1,FALSE)))))),"5",IF(OR(NO T(ISNUMBER(H3)),H3<0),"6",""))))))

Any idea how to have my work completed and compile the formula results to be
reflected in the same cell?

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
SUBSTITUTE Function - Nesting Limitation D Bagatelle Excel Worksheet Functions 2 March 10th 07 02:25 PM
If function limitation miteeka Excel Worksheet Functions 3 February 2nd 07 08:37 AM
percetile function limitation Greg Excel Worksheet Functions 1 April 15th 06 12:19 AM
IRR FUNCTION LIMITATION ?? Mike Excel Discussion (Misc queries) 1 March 24th 06 04:07 AM
Function limitation JayL Excel Worksheet Functions 1 March 4th 05 04:51 PM


All times are GMT +1. The time now is 04:20 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"