Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Maxing out nesting levels limitation of IF function

I have a question on creating a drop-down menu in the cell that would check
the contents of the other cell first, then based on what it finds there, it
will display the appropriate list in the drop-down. I am able to do this
using nested IF formula. However, nesting levels limitation in Excel 07 is
64, I have about 71 lists to display based on the contents of that other cell.

I tried vlookup with arrays, but Data Validation interface does not allow
using arrays.

Is there any other way?

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 171
Default Maxing out nesting levels limitation of IF function

My approach to a similar situation is based on having one complete list of
the potential drop-down values, plus a three-column table. The table's
columns contain the 'parent cell' setting, the point in the list at which the
associated drop-down values begin and the number of such values. Then I have
a defined name using the offset function and the values from columns two and
three of the table; the defined name is my validation list.
Ex
Apple 1 2
Tree 3 3

Granny Smith
Macintosh
Elm
Maple
Oak

So if Apple is selected, my FirstRow is 1, RowCount is 2, and my ValidList
is =offset(A1,FirstRow-1,0,RowCount,1)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Maxing out nesting levels limitation of IF function

Hi,

you may want to try out the following solution on Debra's site.

http://www.contextures.com/xlDataVal02.html

--
Regards,

Ashsih Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Sergei" wrote in message
...
I have a question on creating a drop-down menu in the cell that would
check
the contents of the other cell first, then based on what it finds there,
it
will display the appropriate list in the drop-down. I am able to do this
using nested IF formula. However, nesting levels limitation in Excel 07 is
64, I have about 71 lists to display based on the contents of that other
cell.

I tried vlookup with arrays, but Data Validation interface does not allow
using arrays.

Is there any other way?

Thank you!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Maxing out nesting levels limitation of IF function

You gave me a good start! I then combined OFFSET with VLOOKUP and also came
up with the way to update the original lists with minimum disruptions to the
model. It now works perfectly!

Thanks a lot!

"bpeltzer" wrote:

My approach to a similar situation is based on having one complete list of
the potential drop-down values, plus a three-column table. The table's
columns contain the 'parent cell' setting, the point in the list at which the
associated drop-down values begin and the number of such values. Then I have
a defined name using the offset function and the values from columns two and
three of the table; the defined name is my validation list.
Ex
Apple 1 2
Tree 3 3

Granny Smith
Macintosh
Elm
Maple
Oak

So if Apple is selected, my FirstRow is 1, RowCount is 2, and my ValidList
is =offset(A1,FirstRow-1,0,RowCount,1)


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
30 levels of nesting excel prokopof Excel Worksheet Functions 1 April 2nd 08 09:57 PM
maxing out conditional formatting MelB Excel Discussion (Misc queries) 1 November 17th 07 01:08 AM
too many levels of nesting Rookie Excel Worksheet Functions 7 July 23rd 07 09:49 AM
Limitation of Nesting of Function FARAZ QURESHI Excel Discussion (Misc queries) 3 June 21st 07 12:52 PM
SUBSTITUTE Function - Nesting Limitation D Bagatelle Excel Worksheet Functions 2 March 10th 07 02:25 PM


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