gmaboing
New Member
- Joined
- Mar 24, 2010
- Messages
- 33
Need help with nesting and data validation
BASIC BACKGROUND INFO: I have a spreadsheet that I am doing data validation with multiple dependent lists. I have setup a validation list for my first instance, and for my second instance, instead of using the 'Indirect()' command, I decided to do a 7-layered nested 'if' statement in the data validation field because I need very specific results--this is working perfectly.
PROBLEM: I am trying to do my third and final data validation box but my problem is that there are 26 possiblities or combinations that need to be built in. For each possibility or combination, the user will then be displayed a range of possible options from the data validation list--some lists will be as short as 2, and others as long as 24. I know that Excel 2003 had a limit of eight nesting commands and 2007 has 64, but I am currently running 2003. Is there a function that I can use to help build my logic in the data validation box?
Ultimately, I would build out the 26 level nesting formula (yes, manually type it out) like this:
(by the way, this is the nesting formula inside my second data validation box that works)
=IF(AA4=CC5,CC12:CC13,
IF(AA4=CD5,CD12,
IF(AA4=CE5,CE12,
IF(AA4=CF5,CF12:CF17,
IF(AA4=CG5,CG12:CG18,
IF(AA4=CH5,CH12:CH16,
IF(AA4=CI5,CI12:CI15,
CA8)))))))
Help please.
Thank you
BASIC BACKGROUND INFO: I have a spreadsheet that I am doing data validation with multiple dependent lists. I have setup a validation list for my first instance, and for my second instance, instead of using the 'Indirect()' command, I decided to do a 7-layered nested 'if' statement in the data validation field because I need very specific results--this is working perfectly.
PROBLEM: I am trying to do my third and final data validation box but my problem is that there are 26 possiblities or combinations that need to be built in. For each possibility or combination, the user will then be displayed a range of possible options from the data validation list--some lists will be as short as 2, and others as long as 24. I know that Excel 2003 had a limit of eight nesting commands and 2007 has 64, but I am currently running 2003. Is there a function that I can use to help build my logic in the data validation box?
Ultimately, I would build out the 26 level nesting formula (yes, manually type it out) like this:
(by the way, this is the nesting formula inside my second data validation box that works)
=IF(AA4=CC5,CC12:CC13,
IF(AA4=CD5,CD12,
IF(AA4=CE5,CE12,
IF(AA4=CF5,CF12:CF17,
IF(AA4=CG5,CG12:CG18,
IF(AA4=CH5,CH12:CH16,
IF(AA4=CI5,CI12:CI15,
CA8)))))))
Help please.
Thank you