Dependent Data Validation list involving VLOOKUP

DarrenK

Board Regular
Joined
Aug 5, 2017
Messages
65
Office Version
  1. 365
Platform
  1. Windows
Hello,

I wasn't sure how to search for an answer previously posted as nothing I typed found what I needed.

First off, I have Excel 2011 for Mac and haven't figured out how to copy/paste including the row/column headings so apologies for a lack of illustrated example. My copying/pasting created a very ugly table that I didn't think would work. I also understand how to create Data Validation dropdown menus as well as basic functional knowledge of the VLOOKUP formula. However, my ability ends there.

Sorry, here's my question (in steps): I have a list of evaluations for my employer. The list will have duplicate employee names as each employee is evaluated multiple times a month. Each evaluation row includes the Employee name, the date the evaluation was performed, the score of the evaluation and an evaluation ID (Each ID is unique).

1. I would like to insert a Data Validation list in cell A2. This list is based on the list of evaluated employees occupying column E. Because the list will have multiple instances of the same names, I don't believe that will be an issue. I know how to develop Data Validation dropdown menus, but will the same name being listed multiple times be an issue? I only want each employee name to display once in the dropdown.

2. Once the dropdown is created, I will need a second dropdown Data Validation menu in cell B2 that is dependent upon the first list of employee names. The second dropdown list will display ONLY the dates of the evaluations performed on the selected employee which are found in column F.
(EX: If Joe has eval dates of 8/1, 8/8, 8/18 and 8/24, when I select Joe's name from the first dropdown, the second dropdown will only display the previous 4 dates). That makes me feel I need VLOOKUP but wasn't sure how to incorporate it accurately.

3. Lastly, after I select the evaluation date from B2, I want the Evaluation Score to appear in cell C2 that appears in the same row as that particular evaluation date. Now the raw data will ultimately be in a different worksheet and there will be a list of 120 evaluations each month so I felt using VLOOKUP and referencing the Evaluation ID would work the best as it would pinpoint one and only one row.

I hope this makes sense. Please let me know if you need more information. Thank you in advance.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
[TABLE="width: 964"]
<colgroup><col><col><col span="4"><col><col><col span="2"><col><col><col span="2"></colgroup><tbody>[TR]
[TD]name[/TD]
[TD]date[/TD]
[TD]score[/TD]
[TD]id[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ian[/TD]
[TD="align: right"]01/05/2017[/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]name[/TD]
[TD]harry[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sid[/TD]
[TD="align: right"]03/05/2017[/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]date[/TD]
[TD]23/05/2017[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD="align: right"]05/05/2017[/TD]
[TD="align: right"]81[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]harry[/TD]
[TD="align: right"]07/05/2017[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD]name[/TD]
[TD]harry[/TD]
[TD][/TD]
[TD][/TD]
[TD]Count of score[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ian[/TD]
[TD="align: right"]09/05/2017[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]score[/TD]
[TD]Total[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sid[/TD]
[TD="align: right"]11/05/2017[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD]Count of date[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD="align: right"]13/05/2017[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]7[/TD]
[TD][/TD]
[TD][/TD]
[TD]date[/TD]
[TD]Total[/TD]
[TD][/TD]
[TD][/TD]
[TD]Grand Total[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]harry[/TD]
[TD="align: right"]15/05/2017[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]07/05/2017[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ian[/TD]
[TD="align: right"]17/05/2017[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]15/05/2017[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sid[/TD]
[TD="align: right"]19/05/2017[/TD]
[TD="align: right"]79[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]23/05/2017[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD="align: right"]21/05/2017[/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]11[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]31/05/2017[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]harry[/TD]
[TD="align: right"]23/05/2017[/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]08/06/2017[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ian[/TD]
[TD="align: right"]25/05/2017[/TD]
[TD="align: right"]76[/TD]
[TD="align: right"]13[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]16/06/2017[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sid[/TD]
[TD="align: right"]27/05/2017[/TD]
[TD="align: right"]74[/TD]
[TD="align: right"]14[/TD]
[TD][/TD]
[TD][/TD]
[TD]Grand Total[/TD]
[TD="align: right"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD="align: right"]29/05/2017[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]harry[/TD]
[TD="align: right"]31/05/2017[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ian[/TD]
[TD="align: right"]02/06/2017[/TD]
[TD="align: right"]71[/TD]
[TD="align: right"]17[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sid[/TD]
[TD="align: right"]04/06/2017[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD="align: right"]06/06/2017[/TD]
[TD="align: right"]73[/TD]
[TD="align: right"]19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]harry[/TD]
[TD="align: right"]08/06/2017[/TD]
[TD="align: right"]74[/TD]
[TD="align: right"]20[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]a simple pivot lets you select Harry[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ian[/TD]
[TD="align: right"]10/06/2017[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]21[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]and displays the dates of each evaluation[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sid[/TD]
[TD="align: right"]12/06/2017[/TD]
[TD="align: right"]76[/TD]
[TD="align: right"]22[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ed[/TD]
[TD="align: right"]14/06/2017[/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]23[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]harry[/TD]
[TD="align: right"]16/06/2017[/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]24[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]a second pivot does the rest[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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