Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
changj3
 
Posts: n/a
Default help w/ data validation

is there a way to incorporate an if statement and a list? I want to use an
if statement which would allow me to list a group of choices based on what is
selected in a different cell. for example, if i choose "A" from a list in a
cell a1, it will pull only a list defined as "A" in cell a2.
  #2   Report Post  
Jim Rech
 
Posts: n/a
Default

Lets say you have two lists named aList and bList. For the Source range in
the Data Validation dialog you could enter this formula:

=INDIRECT(A1&"List")

So an "a" in A1 returns the string "aList" which the INDIRECT function
converts to the named range.

--
Jim
"changj3" wrote in message
...
| is there a way to incorporate an if statement and a list? I want to use
an
| if statement which would allow me to list a group of choices based on what
is
| selected in a different cell. for example, if i choose "A" from a list in
a
| cell a1, it will pull only a list defined as "A" in cell a2.


  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Just to add to Jim's post...

Debra Dalgleish has some instructions at:
http://contextures.com/xlDataVal02.html

To show how to use one list dependent on a different cell.

changj3 wrote:

is there a way to incorporate an if statement and a list? I want to use an
if statement which would allow me to list a group of choices based on what is
selected in a different cell. for example, if i choose "A" from a list in a
cell a1, it will pull only a list defined as "A" in cell a2.


--

Dave Peterson
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 screen size Brad Excel Discussion (Misc queries) 2 July 13th 05 09:18 PM
data validation lists [email protected] Excel Discussion (Misc queries) 5 June 25th 05 07:44 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Using Validation List from Another Workbook with Dependent Data Mike R. Excel Worksheet Functions 5 January 8th 05 07:06 PM


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