Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mgdye
 
Posts: n/a
Default how can I exceed the nested if fuction limit

I am trying to create a validation for a column based off of the previous
columns value, which reqires many nested if functions, (10 to be exact).
However the limit of 7 nested if function prevents me from being able to do
this. With all the amazing things that excel can do, there has to be some
sort of work-around for this.

Any ideas?
  #2   Report Post  
Naz
 
Posts: n/a
Default

Usually the best alternative is to use a Lookup function, however, without
more details its hard to give a fuller explanation.

_____________________
Naz
London


"mgdye" wrote:

I am trying to create a validation for a column based off of the previous
columns value, which reqires many nested if functions, (10 to be exact).
However the limit of 7 nested if function prevents me from being able to do
this. With all the amazing things that excel can do, there has to be some
sort of work-around for this.

Any ideas?

  #3   Report Post  
mgdye
 
Posts: n/a
Default

I have a drop-down listed validation for a main category of expenses in one
column, starting in cell F7. There are eleven categories: Automobile, Bills,
etc. Then in the folowing column, I want to drop-down validated list to be
dependant on the previous column's value to present sub-category choices. So
if I chose Automobile in Cell F7, I want the drop-down list in cell G7 to
display sub-categories related only to automobiles, such as Repairs, Gas,
etc. and not to show any other sub cateries for other main categories.

I have figured out how to do this by creating a table with the first column
being the main categories and then making A1's validation equal that cell.
So if the first cell in the table is K7, then I have Automobile in that cell,
Bills below it, etc and my validation for F7 is:=$K$7:$K17.

But then when I use the formula for validation list in the the next column
(starting in cell G7), there will be too many nested if functions to be able
to have sub-category options for all 11 main categories. I have the
sub-categories in the same table as mentioned in the paragraph above to the
right of the main categories so that I can use th following function:

=IF(f7=$L$7,$L$7:$n$7,if(f7=$K$8,$L$8:$U$8€¦

"Naz" wrote:

Usually the best alternative is to use a Lookup function, however, without
more details its hard to give a fuller explanation.

_____________________
Naz
London


"mgdye" wrote:

I am trying to create a validation for a column based off of the previous
columns value, which reqires many nested if functions, (10 to be exact).
However the limit of 7 nested if function prevents me from being able to do
this. With all the amazing things that excel can do, there has to be some
sort of work-around for this.

Any ideas?

  #4   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You can create dependent data validation lists. There are instructions he

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


mgdye wrote:
I have a drop-down listed validation for a main category of expenses in one
column, starting in cell F7. There are eleven categories: Automobile, Bills,
etc. Then in the folowing column, I want to drop-down validated list to be
dependant on the previous column's value to present sub-category choices. So
if I chose Automobile in Cell F7, I want the drop-down list in cell G7 to
display sub-categories related only to automobiles, such as Repairs, Gas,
etc. and not to show any other sub cateries for other main categories.

I have figured out how to do this by creating a table with the first column
being the main categories and then making A1's validation equal that cell.
So if the first cell in the table is K7, then I have Automobile in that cell,
Bills below it, etc and my validation for F7 is:=$K$7:$K17.

But then when I use the formula for validation list in the the next column
(starting in cell G7), there will be too many nested if functions to be able
to have sub-category options for all 11 main categories. I have the
sub-categories in the same table as mentioned in the paragraph above to the
right of the main categories so that I can use th following function:

=IF(f7=$L$7,$L$7:$n$7,if(f7=$K$8,$L$8:$U$8€¦

"Naz" wrote:


Usually the best alternative is to use a Lookup function, however, without
more details its hard to give a fuller explanation.

_____________________
Naz
London


"mgdye" wrote:


I am trying to create a validation for a column based off of the previous
columns value, which reqires many nested if functions, (10 to be exact).
However the limit of 7 nested if function prevents me from being able to do
this. With all the amazing things that excel can do, there has to be some
sort of work-around for this.

Any ideas?




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #5   Report Post  
mgdye
 
Posts: n/a
Default

That works perfectly - thank you very much for your help Debra!

"Debra Dalgleish" wrote:

You can create dependent data validation lists. There are instructions he

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


mgdye wrote:
I have a drop-down listed validation for a main category of expenses in one
column, starting in cell F7. There are eleven categories: Automobile, Bills,
etc. Then in the folowing column, I want to drop-down validated list to be
dependant on the previous column's value to present sub-category choices. So
if I chose Automobile in Cell F7, I want the drop-down list in cell G7 to
display sub-categories related only to automobiles, such as Repairs, Gas,
etc. and not to show any other sub cateries for other main categories.

I have figured out how to do this by creating a table with the first column
being the main categories and then making A1's validation equal that cell.
So if the first cell in the table is K7, then I have Automobile in that cell,
Bills below it, etc and my validation for F7 is:=$K$7:$K17.

But then when I use the formula for validation list in the the next column
(starting in cell G7), there will be too many nested if functions to be able
to have sub-category options for all 11 main categories. I have the
sub-categories in the same table as mentioned in the paragraph above to the
right of the main categories so that I can use th following function:

=IF(f7=$L$7,$L$7:$n$7,if(f7=$K$8,$L$8:$U$8€¦

"Naz" wrote:


Usually the best alternative is to use a Lookup function, however, without
more details its hard to give a fuller explanation.

_____________________
Naz
London


"mgdye" wrote:


I am trying to create a validation for a column based off of the previous
columns value, which reqires many nested if functions, (10 to be exact).
However the limit of 7 nested if function prevents me from being able to do
this. With all the amazing things that excel can do, there has to be some
sort of work-around for this.

Any ideas?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html




  #6   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You're welcome! Thanks for letting me know that it worked.

mgdye wrote:
That works perfectly - thank you very much for your help Debra!

"Debra Dalgleish" wrote:


You can create dependent data validation lists. There are instructions he

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


mgdye wrote:

I have a drop-down listed validation for a main category of expenses in one
column, starting in cell F7. There are eleven categories: Automobile, Bills,
etc. Then in the folowing column, I want to drop-down validated list to be
dependant on the previous column's value to present sub-category choices. So
if I chose Automobile in Cell F7, I want the drop-down list in cell G7 to
display sub-categories related only to automobiles, such as Repairs, Gas,
etc. and not to show any other sub cateries for other main categories.

I have figured out how to do this by creating a table with the first column
being the main categories and then making A1's validation equal that cell.
So if the first cell in the table is K7, then I have Automobile in that cell,
Bills below it, etc and my validation for F7 is:=$K$7:$K17.

But then when I use the formula for validation list in the the next column
(starting in cell G7), there will be too many nested if functions to be able
to have sub-category options for all 11 main categories. I have the
sub-categories in the same table as mentioned in the paragraph above to the
right of the main categories so that I can use th following function:

=IF(f7=$L$7,$L$7:$n$7,if(f7=$K$8,$L$8:$U$8€¦

"Naz" wrote:



Usually the best alternative is to use a Lookup function, however, without
more details its hard to give a fuller explanation.

_____________________
Naz
London


"mgdye" wrote:



I am trying to create a validation for a column based off of the previous
columns value, which reqires many nested if functions, (10 to be exact).
However the limit of 7 nested if function prevents me from being able to do
this. With all the amazing things that excel can do, there has to be some
sort of work-around for this.

Any ideas?


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
how can I exceed the nested if fuction limit Mike Excel Discussion (Misc queries) 0 January 30th 05 12:17 AM
Employing constant arrays to limit nested IF statements. Richard-44 Excel Worksheet Functions 2 January 6th 05 02:19 AM
Nested IF limit or Open parentheses limit Fred Excel Discussion (Misc queries) 5 December 23rd 04 03:34 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM
nested ifs sthompson Setting up and Configuration of Excel 1 December 15th 04 06:38 PM


All times are GMT +1. The time now is 02:50 PM.

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"