LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional validation with only two columns

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Colin" wrote in message
...
Thanks Bill that worked :) Note that this relies on the columns being
sorted
by A then B but thats fine for me.

"T. Valko" wrote:

Try this...

Assume your first drop down is in cell D1.

As the sorce for the dependent drop down use:

=OFFSET(B1,MATCH(D1,A:A,0)-1,,COUNTIF(A:A,D1))

--
Biff
Microsoft Excel MVP


"Colin" wrote in message
...
Hi

I want to be able to have two drop down lists using the data below. If
I
select Dog, the second list must present me with Meat and Bones. If I
select
Cat, the second list must present me with Meat.

I cannot use named ranged by splitting the columns into Dog Food, Cat
Food,
Cow Food etc... They must be in this two-column associated structure.

A B
Dog Meat
Dog Bones
Cat Meat
Cow Grass

Thanks,
Colin






 
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
conditional validation TUNGANA KURMA RAJU Excel Discussion (Misc queries) 2 June 4th 08 04:24 AM
Conditional Validation The Narcissist Excel Worksheet Functions 3 February 4th 08 11:13 AM
Conditional Validation mojoshenpo Excel Worksheet Functions 3 July 29th 06 08:46 PM
Conditional Validation TTomSawyer Excel Worksheet Functions 1 August 12th 05 01:47 AM
Conditional validation :-) Robert Excel Discussion (Misc queries) 1 February 18th 05 08:07 AM


All times are GMT +1. The time now is 04:29 AM.

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"