Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel97 - Data Validation List Source 1

Status
Not open for further replies.

JudyAH

Programmer
Aug 9, 2001
4
AU
Hi,

I'm using the data validation tool in Excel to restrict valid inputs to the values in various named ranges. The named range to be used depends on the value of another cell. This value is actually the name of the range. For example if the cell value (say, B2)is the string "Colours", the list source is =Colours which is the named range containing valid colours. If the value of this cell (B2) is changed to "Shapes", I need the list source to be =Shapes, therefore refering to the named range containing valid shapes. Hence I need to set the list source to the value of B2, not B2 itself.

It may be a stupidly simple question - but I just cannot think of an answer. I'd greatly appreciate any assistance.

Thank you
Judy.
 
I think this can be done. The trick is to always refer to the same range name within the validation cells. For example, "=Validate".

Now within the validation list itself, write formulas that change each cell based upon the trigger "Colours" or "Shapes". For two types of lists you will need a total of three ranges : Validate, Colours, and Shapes. The list in Validate refers to either Colours or Shapes.

Let me know if you need any more help.
 
Thank you JVFriederick. Yes I do need more help please. Where should I place the formula, and what should the formula be?
 
Send an Email to JVFriederick@Yahoo.com and I'll send a file that you can use.
 
Thanks. It's my first name concatenated with "honan", domain is hotmail. (Couldn't see how I could send it direct to you)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top