Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Data Validation - IF statements

I am having problems with 7 Nested IF functions in data validation.
What is the best way around formulas using more than 7 IF functions?
How do you write an IF function in VBA where there are more than seven
statements?
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Data Validation - IF statements

Can you provide a more detailed explanation of what you're trying to do?

There are many ways to get around a bunch of nested if statements.

--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am having problems with 7 Nested IF functions in data validation.
What is the best way around formulas using more than 7 IF functions?
How do you write an IF function in VBA where there are more than seven
statements?
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Data Validation - IF statements

I am trying to do the following:

I have established various combinations of cells to create a frame type and
called given it a name.

e.g. =IF(R17="Brown",OR(AG17="Grey",AG17="Red")), "Brown Frame") I have
placed these formulas at the bottom of my spreadsheet, where it is not
visible.
In another cell I want that framename (which is the name of the list
created) to be displayed with a dropdown list of variations of type that go
with this framing.
e.g. IF(M217="Brown Frame",brownframe,IF(P217="Green Frame",greenframe))etc
(I have placed this under Validation-List. I come unstruck when I have too
many of these IF statements.
Thanks for your help.
CC




"T. Valko" wrote in message
...
Can you provide a more detailed explanation of what you're trying to do?

There are many ways to get around a bunch of nested if statements.

--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am having problems with 7 Nested IF functions in data validation.
What is the best way around formulas using more than 7 IF functions?
How do you write an IF function in VBA where there are more than seven
statements?
Thanks




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Data Validation - IF statements

Ok...

IF(M217="Brown Frame",brownframe,IF(P217="Green Frame",greenframe))etc


It looks like row 217 contains your formula results. But, how do you control
which list to use? Will there only be 1 cell on row 217 that actually
contains a frame name?

This formula returns an error.

=IF(R17="Brown",OR(AG17="Grey",AG17="Red")), "Brown Frame")


Maybe you meant:

=IF(R17="Brown",IF(OR(AG17="Grey",AG17="Red"),"Bro wn Frame"))

This will return either Brown Frame or FALSE. So, does that mean row 217
contains 1 frame name and a bunch of FALSEs ?


--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am trying to do the following:

I have established various combinations of cells to create a frame type
and called given it a name.

e.g. =IF(R17="Brown",OR(AG17="Grey",AG17="Red")), "Brown Frame") I have
placed these formulas at the bottom of my spreadsheet, where it is not
visible.
In another cell I want that framename (which is the name of the list
created) to be displayed with a dropdown list of variations of type that
go with this framing.
e.g. IF(M217="Brown Frame",brownframe,IF(P217="Green
Frame",greenframe))etc (I have placed this under Validation-List. I come
unstruck when I have too many of these IF statements.
Thanks for your help.
CC




"T. Valko" wrote in message
...
Can you provide a more detailed explanation of what you're trying to do?

There are many ways to get around a bunch of nested if statements.

--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am having problems with 7 Nested IF functions in data validation.
What is the best way around formulas using more than 7 IF functions?
How do you write an IF function in VBA where there are more than seven
statements?
Thanks






  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Data Validation - IF statements

M217 to Y217 each contain a different frame name

My formula on each of these cells reads:

IF(AND(R17"Material Type",OR(AG17="Hinge type",AG17="Hinge
direction"))"Frame Name",0) each of these formulas determine what list I
want the validation to choose and create a drop down list.

Only one cell on R17 contains the list from the validation.

Your help is so appreciated. I am learning new things all the time and at
moment doing some e-learning on Excel but have yet to learn the more
advanced skills.

CC

"T. Valko" wrote in message
...
Ok...

IF(M217="Brown Frame",brownframe,IF(P217="Green Frame",greenframe))etc


It looks like row 217 contains your formula results. But, how do you
control which list to use? Will there only be 1 cell on row 217 that
actually contains a frame name?

This formula returns an error.

=IF(R17="Brown",OR(AG17="Grey",AG17="Red")), "Brown Frame")


Maybe you meant:

=IF(R17="Brown",IF(OR(AG17="Grey",AG17="Red"),"Bro wn Frame"))

This will return either Brown Frame or FALSE. So, does that mean row 217
contains 1 frame name and a bunch of FALSEs ?


--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am trying to do the following:

I have established various combinations of cells to create a frame type
and called given it a name.

e.g. =IF(R17="Brown",OR(AG17="Grey",AG17="Red")), "Brown Frame") I have
placed these formulas at the bottom of my spreadsheet, where it is not
visible.
In another cell I want that framename (which is the name of the list
created) to be displayed with a dropdown list of variations of type that
go with this framing.
e.g. IF(M217="Brown Frame",brownframe,IF(P217="Green
Frame",greenframe))etc (I have placed this under Validation-List. I come
unstruck when I have too many of these IF statements.
Thanks for your help.
CC




"T. Valko" wrote in message
...
Can you provide a more detailed explanation of what you're trying to do?

There are many ways to get around a bunch of nested if statements.

--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am having problems with 7 Nested IF functions in data validation.
What is the best way around formulas using more than 7 IF functions?
How do you write an IF function in VBA where there are more than seven
statements?
Thanks








  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Data Validation - IF statements

Ok...

M217 to Y217 each contain a different frame name


If each cell contains a name then what determines which of those names is
the source for your list?

--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
M217 to Y217 each contain a different frame name

My formula on each of these cells reads:

IF(AND(R17"Material Type",OR(AG17="Hinge type",AG17="Hinge
direction"))"Frame Name",0) each of these formulas determine what list I
want the validation to choose and create a drop down list.

Only one cell on R17 contains the list from the validation.

Your help is so appreciated. I am learning new things all the time and at
moment doing some e-learning on Excel but have yet to learn the more
advanced skills.

CC

"T. Valko" wrote in message
...
Ok...

IF(M217="Brown Frame",brownframe,IF(P217="Green Frame",greenframe))etc


It looks like row 217 contains your formula results. But, how do you
control which list to use? Will there only be 1 cell on row 217 that
actually contains a frame name?

This formula returns an error.

=IF(R17="Brown",OR(AG17="Grey",AG17="Red")), "Brown Frame")


Maybe you meant:

=IF(R17="Brown",IF(OR(AG17="Grey",AG17="Red"),"Bro wn Frame"))

This will return either Brown Frame or FALSE. So, does that mean row 217
contains 1 frame name and a bunch of FALSEs ?


--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am trying to do the following:

I have established various combinations of cells to create a frame type
and called given it a name.

e.g. =IF(R17="Brown",OR(AG17="Grey",AG17="Red")), "Brown Frame") I have
placed these formulas at the bottom of my spreadsheet, where it is not
visible.
In another cell I want that framename (which is the name of the list
created) to be displayed with a dropdown list of variations of type that
go with this framing.
e.g. IF(M217="Brown Frame",brownframe,IF(P217="Green
Frame",greenframe))etc (I have placed this under Validation-List. I
come unstruck when I have too many of these IF statements.
Thanks for your help.
CC




"T. Valko" wrote in message
...
Can you provide a more detailed explanation of what you're trying to
do?

There are many ways to get around a bunch of nested if statements.

--
Biff
Microsoft Excel MVP


"CC" wrote in message
...
I am having problems with 7 Nested IF functions in data validation.
What is the best way around formulas using more than 7 IF functions?
How do you write an IF function in VBA where there are more than seven
statements?
Thanks








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
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM
14 Nested IF statements creating different validation lists Jive Bunny Excel Worksheet Functions 6 July 2nd 06 10:15 PM
Complex Vlookup and List Validation and Nested IF statements Bobby Excel Worksheet Functions 2 March 9th 06 05:37 PM
If statements with validation lists Tony Houston Excel Worksheet Functions 7 September 1st 05 06:25 PM
Data Validation w/ If, Match & Index Statements Dominique Feteau Excel Worksheet Functions 2 December 18th 04 08:15 AM


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

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"