Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DPR DPR is offline
external usenet poster
 
Posts: 4
Default can I define validation range by function?

I'm trying to figure out a way to change the list that appears in a cell's
drop-down menu based on some IF statements. I have defined several different
named ranges that define my lists. Normally I would go to data validation
and enter the name there to form my drop down menu. In this case, though, I
want to make "rangeA" apply for my input value being less than 100, and
"rangeB" apply for when the value is greater than 100. Is there a way to do
this using data validation, or will I need to try a control drop-down with VB
coding?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default can I define validation range by function?

Take a look he


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


In article ,
DPR wrote:

I'm trying to figure out a way to change the list that appears in a cell's
drop-down menu based on some IF statements. I have defined several different
named ranges that define my lists. Normally I would go to data validation
and enter the name there to form my drop down menu. In this case, though, I
want to make "rangeA" apply for my input value being less than 100, and
"rangeB" apply for when the value is greater than 100. Is there a way to do
this using data validation, or will I need to try a control drop-down with VB
coding?

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
Define a range jlclyde Excel Discussion (Misc queries) 2 April 17th 08 08:26 PM
Looking for code to define a range Ant Excel Discussion (Misc queries) 3 October 3rd 05 06:22 PM
Define range for graphs/charts with validation list janfolmer Excel Discussion (Misc queries) 2 August 29th 05 02:02 PM
Macro - define cell range for a sum function Fad Excel Discussion (Misc queries) 2 June 6th 05 12:40 PM
Define a range based on another named range Basil Excel Worksheet Functions 2 February 21st 05 01:47 PM


All times are GMT +1. The time now is 08:52 AM.

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"