Dependent data validation question

jbaich

Board Regular
Joined
Nov 2, 2011
Messages
140
Hi all, i feel like i've watched a million youtube videos and read a million articles and they all seem sooo similar to what i'm trying to accomplish, but i just can't quite get there...

Here's the situation; Excel 2016, will be a shared workbook so no tables allowed, workbooks will likely have between 3,000 and 10,000 rows, don't have permissions to download xl2BB... (work computer)

Sheet 1 is basically the control sheet, one row per unique id. Sheet 2 is some raw data, many records per id.

I would like to be able to use data validation in my control sheet based on the unique id for the row to list the relevant data from sheet 2. Example below...

Control sheet: (sheet 1)
Unique IDTaskDue Date
1basically index and match or vlookup from sheet 2 based on unique id and due date (adjacent right) criteria from sheet 1... would be super sweet if this could also be validation list and selection from this list would return due date (bidirectional)... asking a lot though i think...?Would like to get data validation to list due dates for this unique id from sheet 2 in order of earliest to latest, so the validation list here would be: (from example sheet 2 below)
02-03-2020
05-03-2020
15-04-2020
2same as abovesame as above
3same as abovesame as above

Raw Data: (sheet 2)
Unique ID
TaskDue Date (dd-mm-yyyy)
1Send letter02-03-2020
1Follow up Call05-03-2020
1File Report15-04-2020
2similar to aboveyou get the idea

so, i'm trying to figure out how to use named ranges and data validation so that the Task and Due Date cells in sheet 1 will drop down list the dates from sheet two and the associated task... in a perfect world, the two columns would work in both directions, ie. you choose a task via validation list from sheet 1 and the adjacent Due Date value updates or you choose a Due Date and the associated task is displayed... that might be too much to ask, so i'd be thrilled if i could prioritize the date validation and have the task value populated from that selection... i figure if i sort sheet 2 by earliest and filter out dates prior to today, i should get the desired sort order inherently?

any assistance would be very much appreciated!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi, jbaich & Dave87

I might have an idea, but it involves vba and it's a bit complex.
Here's an example of 3 dependent data validations using vba:

example

it's not what you really want but let me know if you're interested in this method, I might amend the code to suit your need.
 
Upvote 0
Hi @jbaich Peter was very helpful in providing a fix to my post above, you should have a look at it if youre still stuck on this
 
Upvote 0
Hi @jbaich Peter was very helpful in providing a fix to my post above, you should have a look at it if youre still stuck on this
Thanks Dave, but I’m working in an older version of excel without those new functions and now that I’ve played with this for a bit, I’m not sure if the solution I thought I needed is actually what I needed... work in progress still, but thanks for the heads up on your solution!
 
Upvote 0

Forum statistics

Threads
1,224,737
Messages
6,180,659
Members
452,992
Latest member
TokugawaIesuma

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top